From: Siraaj Khandkar Date: Tue, 10 Mar 2020 12:08:46 +0000 (-0400) Subject: Simplify Makefile X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=af4ef80d4366025b71ff6f11fbc9bc13d64d3758;p=khatus.git Simplify Makefile --- diff --git a/x5/Makefile b/x5/Makefile index 98f210c..839a0a5 100644 --- a/x5/Makefile +++ b/x5/Makefile @@ -1,18 +1,13 @@ CFLAGS := -Wall -Wextra LDLIBS := -lX11 -EXECUTABLES := khatus +.PHONY: build clean rebuild -.PHONY: \ - build \ - clean \ - rebuild - -build: $(EXECUTABLES) +build: khatus clean: - @find . -name '*.o' -type f -delete - @rm -f $(EXECUTABLES) + @rm -f khatus -rebuild: clean +rebuild: + @$(MAKE) -s clean @$(MAKE) -s build