X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=x5%2FMakefile;h=d8fcc231149c90a07a9260fd1a660dbfbeb2cddd;hp=585ca1206a44aaef86f3523cd96f27030be7994f;hb=HEAD;hpb=4dc09422dcd8b69ad8095bf664a7346291eb95b8 diff --git a/x5/Makefile b/x5/Makefile index 585ca12..d8fcc23 100644 --- a/x5/Makefile +++ b/x5/Makefile @@ -4,10 +4,28 @@ LDLIBS := -lX11 .PHONY: build clean rebuild -build: khatus +build: \ + khatus \ + khatus_sensor_battery \ + khatus_sensor_time + +khatus: \ + khlib_log.o \ + khlib_time.o + +khatus_sensor_battery: \ + khlib_log.o \ + khlib_time.o + +khatus_sensor_time: \ + khlib_log.o \ + khlib_time.o + +khlib_time.o: khlib_log.o clean: - @ find . -type f -executable -delete + @find . -type f -executable -delete + @find . -type f -name '*.o' -delete rebuild: @$(MAKE) -s clean