From 5bbe29d3b8e5c249bb6e05fa46afc5fda1e4c38b Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sat, 22 Feb 2025 15:36:45 +0100 Subject: makefile: Define all phony targets --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3