c++/lpt-signal-generator/Makefile
author František Kučera <franta-hg@frantovo.cz>
Fri, 09 Jun 2017 23:23:25 +0200
changeset 47 9e2addbb9674
permissions -rw-r--r--
lpt-signal-generator: Makefile
     1 CXX=g++
     2 CXXFLAGS += -std=c++11 -Wall
     3 
     4 APP=lpt-signal-generator
     5 PROGNAME=$(APP)
     6 SRC=lpt.cpp
     7 
     8 ALL: $(PROGNAME)
     9 
    10 $(PROGNAME): $(SRC)
    11 	$(CXX) $(CXXFLAGS) -o $(PROGNAME) $(SRC)
    12 
    13 clean:
    14 	rm -f $(PROGNAME)
    15 
    16 run: $(PROGNAME)
    17 	chrt 1 ./$(PROGNAME)
    18