author | František Kučera <franta-hg@frantovo.cz> |
Tue, 12 May 2020 21:30:46 +0200 | |
changeset 58 | 2f84ed5f3abf |
parent 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 |