Shift X2 status from legacy to archived
[khatus.git] / x5 / Makefile
CommitLineData
4dc09422
SK
1CPPFLAGS := -D_POSIX_C_SOURCE=200809L
2CFLAGS := -std=c99 -Wall -Wextra
3LDLIBS := -lX11
fabb8771 4
af4ef80d 5.PHONY: build clean rebuild
9b5ebc12 6
17a27e48 7build: \
8345f2b3 8 khatus \
d03cabfe 9 khatus_sensor_battery \
8345f2b3 10 khatus_sensor_time
17a27e48
SK
11
12khatus: \
1084633a
SK
13 khlib_log.o \
14 khlib_time.o
17a27e48 15
d03cabfe 16khatus_sensor_battery: \
1084633a
SK
17 khlib_log.o \
18 khlib_time.o
d03cabfe 19
8345f2b3 20khatus_sensor_time: \
1084633a
SK
21 khlib_log.o \
22 khlib_time.o
8345f2b3 23
1084633a 24khlib_time.o: khlib_log.o
9b5ebc12
SK
25
26clean:
17a27e48
SK
27 @find . -type f -executable -delete
28 @find . -type f -name '*.o' -delete
9b5ebc12 29
af4ef80d
SK
30rebuild:
31 @$(MAKE) -s clean
9b5ebc12 32 @$(MAKE) -s build
This page took 0.029135 seconds and 4 git commands to generate.