author | František Kučera <franta-hg@frantovo.cz> |
Fri, 08 May 2020 00:02:05 +0200 | |
changeset 57 | 1b21c78d8706 |
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 |