X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=x5%2FMakefile;h=59d115b8107616bd003a98b7b93d9e5a8986b62e;hp=98f210c217681a94c18d9f5e7dfc87f02c685a8c;hb=b6316e94783d975f109c9901e4061ba041f0cb3f;hpb=5400b86f94a27fec5dad85572f6fe0dc5a44febd 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