Support arbitrary parameter passing to sensor function
[khatus.git] / x5 / Makefile
1 CPPFLAGS := -D_POSIX_C_SOURCE=200809L
2 CFLAGS := -std=c99 -Wall -Wextra
3 LDLIBS := -lX11
4
5 .PHONY: build clean rebuild
6
7 build: \
8 khatus \
9 khatus_sensor_battery \
10 khatus_sensor_time
11
12 khatus: \
13 khatus_lib_log.o \
14 khatus_lib_time.o
15
16 khatus_sensor_battery: \
17 khatus_lib_log.o \
18 khatus_lib_sensor.o \
19 khatus_lib_time.o
20
21 khatus_sensor_time: \
22 khatus_lib_log.o \
23 khatus_lib_sensor.o \
24 khatus_lib_time.o
25
26 khatus_lib_time.o: khatus_lib_log.o
27
28 clean:
29 @find . -type f -executable -delete
30 @find . -type f -name '*.o' -delete
31
32 rebuild:
33 @$(MAKE) -s clean
34 @$(MAKE) -s build
This page took 0.068865 seconds and 4 git commands to generate.