home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Timeout IO poll at desired intervals
[khatus.git]
/
x5
/
Makefile
diff --git
a/x5/Makefile
b/x5/Makefile
index
59d115b
..
c6a0576
100644
(file)
--- a/
x5/Makefile
+++ b/
x5/Makefile
@@
-1,12
+1,26
@@
-CFLAGS := -Wall -Wextra
-LDLIBS := -lX11
+CPPFLAGS := -D_POSIX_C_SOURCE=200809L
+CFLAGS := -std=c99 -Wall -Wextra
+LDLIBS := -lX11
.PHONY: build clean rebuild
.PHONY: build clean rebuild
-build: khatus
+build: \
+ khatus \
+ khatus_sensor_time
+
+khatus: \
+ khatus_lib_log.o \
+ khatus_lib_time.o
+
+khatus_sensor_time: \
+ khatus_lib_log.o \
+ khatus_lib_time.o
+
+khatus_lib_time.o: khatus_lib_log.o
clean:
clean:
- @ find . -type f -executable -delete
+ @find . -type f -executable -delete
+ @find . -type f -name '*.o' -delete
rebuild:
@$(MAKE) -s clean
rebuild:
@$(MAKE) -s clean
This page took
0.0249 seconds
and
4
git commands to generate.