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