Browse code

Add `.PHONY` target

Robert Cranston authored on 10/11/2024 21:32:16
Showing 1 changed files

  • Makefile index fa7793e..5969092 100644
... ...
@@ -40,8 +40,10 @@ LDLIBS += \
40 40
 $(PROG): $(PROG).cpp $(COMMON)
41 41
 	g++ $(CXXFLAGS) $(CPPFLAGS) $(PROG).cpp $(COMMON) $(LDLIBS) -o $(PROG)
42 42
 
43
+.PHONY: clean
43 44
 clean:
44 45
 	rm $(PROG)
45 46
 
47
+.PHONY: run
46 48
 run: $(PROG)
47 49
 	./$(PROG)