c++/lpt-signal-generator/Makefile
author František Kučera <franta-hg@frantovo.cz>
Sun, 11 Jun 2017 14:08:19 +0200
changeset 53 516358e07f9d
parent 47 9e2addbb9674
permissions -rw-r--r--
lpt-signal-generator: komentář
     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