X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=x5%2FMakefile;h=59d115b8107616bd003a98b7b93d9e5a8986b62e;hb=4c438cef6b69db82d2835d2c32d41fae12c93016;hp=98f210c217681a94c18d9f5e7dfc87f02c685a8c;hpb=5400b86f94a27fec5dad85572f6fe0dc5a44febd;p=khatus.git diff --git a/x5/Makefile b/x5/Makefile index 98f210c..59d115b 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) + @ find . -type f -executable -delete -rebuild: clean +rebuild: + @$(MAKE) -s clean @$(MAKE) -s build