X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=x5%2FMakefile;h=d8fcc231149c90a07a9260fd1a660dbfbeb2cddd;hb=c21cacfe19a8f0ec0676c21db23592e3b9ed5175;hp=585ca1206a44aaef86f3523cd96f27030be7994f;hpb=4dc09422dcd8b69ad8095bf664a7346291eb95b8;p=khatus.git 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