c++/lpt-signal-generator/Makefile
author František Kučera <franta-hg@frantovo.cz>
Sun, 11 Jun 2017 03:05:27 +0200
changeset 49 e1e5db678ce8
parent 47 9e2addbb9674
permissions -rw-r--r--
lpt-signal-generator: calibration
     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