changeset 47 | 9e2addbb9674 |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/c++/lpt-signal-generator/Makefile Fri Jun 09 23:23:25 2017 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +CXX=g++ 1.5 +CXXFLAGS += -std=c++11 -Wall 1.6 + 1.7 +APP=lpt-signal-generator 1.8 +PROGNAME=$(APP) 1.9 +SRC=lpt.cpp 1.10 + 1.11 +ALL: $(PROGNAME) 1.12 + 1.13 +$(PROGNAME): $(SRC) 1.14 + $(CXX) $(CXXFLAGS) -o $(PROGNAME) $(SRC) 1.15 + 1.16 +clean: 1.17 + rm -f $(PROGNAME) 1.18 + 1.19 +run: $(PROGNAME) 1.20 + chrt 1 ./$(PROGNAME) 1.21 +