X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=x5%2FMakefile;h=59d115b8107616bd003a98b7b93d9e5a8986b62e;hp=5fd735d861134cacf8e5618b7a1b30ae48e299c2;hb=b6316e94783d975f109c9901e4061ba041f0cb3f;hpb=a182ff0e70549c0754666178106ac7dc76e24f77 diff --git a/x5/Makefile b/x5/Makefile index 5fd735d..59d115b 100644 --- a/x5/Makefile +++ b/x5/Makefile @@ -1,16 +1,13 @@ -EXECUTABLES := khatus -CC := c99-gcc -Wall +CFLAGS := -Wall -Wextra +LDLIBS := -lX11 -.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