c++/lpt-signal-generator/Makefile
author František Kučera <franta-hg@frantovo.cz>
Tue, 12 May 2020 21:30:46 +0200
changeset 58 2f84ed5f3abf
parent 47 9e2addbb9674
permissions -rw-r--r--
SQLite: demo modul: extern "C" není potřeba pro SQL funkce
     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