author | František Kučera <franta-hg@frantovo.cz> |
Tue, 21 Nov 2017 00:20:27 +0100 | |
changeset 54 | 2a22f9959ea3 |
permissions | -rw-r--r-- |
franta-hg@54 | 1 |
CXX=g++ |
franta-hg@54 | 2 |
CXXFLAGS += -std=c++17 -Wall |
franta-hg@54 | 3 |
|
franta-hg@54 | 4 |
APP=přepis-cli-parametrů |
franta-hg@54 | 5 |
PROGNAME=$(APP) |
franta-hg@54 | 6 |
SRC=$(APP).cpp |
franta-hg@54 | 7 |
|
franta-hg@54 | 8 |
ALL: $(PROGNAME) |
franta-hg@54 | 9 |
|
franta-hg@54 | 10 |
$(PROGNAME): $(SRC) |
franta-hg@54 | 11 |
$(CXX) $(CXXFLAGS) -o $(PROGNAME) $(SRC) |
franta-hg@54 | 12 |
|
franta-hg@54 | 13 |
clean: |
franta-hg@54 | 14 |
rm -f $(PROGNAME) |
franta-hg@54 | 15 |
|
franta-hg@54 | 16 |
run: $(PROGNAME) |
franta-hg@54 | 17 |
./$(PROGNAME) první druhý třetí |
franta-hg@54 | 18 |