X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=x5%2FMakefile;h=59d115b8107616bd003a98b7b93d9e5a8986b62e;hb=b6316e94783d975f109c9901e4061ba041f0cb3f;hp=816deff6602af647068639ca27d93039947147cd;hpb=fabb877142fbe4686ef7fcaf7fa0f4f92c1fe254;p=khatus.git diff --git a/x5/Makefile b/x5/Makefile index 816deff..59d115b 100644 --- a/x5/Makefile +++ b/x5/Makefile @@ -1,18 +1,13 @@ -CFLAGS := -Wall +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