Implement log levels
[khatus.git] / x5 / Makefile
index 98f210c..59d115b 100644 (file)
@@ -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
This page took 0.029505 seconds and 4 git commands to generate.