aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2025-02-22 15:36:45 +0100
committerJán Sučan <jan@jansucan.com>2025-02-22 15:38:28 +0100
commit5bbe29d3b8e5c249bb6e05fa46afc5fda1e4c38b (patch)
tree42bea39ffa15c9f45398107302178e7ad7f537b4 /src/Makefile
parentaae2c5d151be25c1a480c2cbc2906412261f5674 (diff)
makefile: Define all phony targetsmaster
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 34d7982..b371b09 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,7 @@
include ../config.mk
+.PHONY: all clean
+
SOURCES=*.cpp
HEADERS=*.h
@@ -14,7 +16,5 @@ program_info.h:
echo "const std::string PROGRAM_NAME_STR {\"$(PROGRAM_NAME)\"};" >program_info.h
echo "const std::string PROGRAM_VERSION_STR {\"$(PROGRAM_VERSION)\"};" >>program_info.h
-.PHONY: clean
-
clean:
rm -f *.o *~ $(PROGRAM_NAME) program_info.h