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