aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-16 19:28:39 +0200
committerMattias Andrée <maandree@kth.se>2016-07-16 19:28:39 +0200
commit0c0d0ca0da8060484ab5f41a6ee73087755a69e3 (patch)
treedd455f5a29edba440f2194a60fc06f0ceed8f397 /Makefile
parentattributes (diff)
downloadcoopgammad-0c0d0ca0da8060484ab5f41a6ee73087755a69e3.tar.gz
coopgammad-0c0d0ca0da8060484ab5f41a6ee73087755a69e3.tar.bz2
coopgammad-0c0d0ca0da8060484ab5f41a6ee73087755a69e3.tar.xz
Restructure
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4e2139c..921121a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,21 @@ COMMAND = coopgammad
KERNEL = $(shell uname | tr '[A-Z]_' '[a-z]-')
-SRC = filter coopgammad output ramps util message server ring
+SRC = \
+ coopgammad \
+ server \
+ util \
+ communication \
+ state \
+ crtc-server/server \
+ gamma-server/server \
+ coopgamma-server/server \
+ coopgamma-server/chaining \
+ types/filter \
+ types/output \
+ types/ramps \
+ types/message \
+ types/ring
OPTIMISE = -Og -g
@@ -34,7 +48,7 @@ bin/coopgammad: $(foreach S,$(SRC),obj/$(S).o)
@mkdir -p -- "$$(dirname -- "$@")"
$(CC) $(LDFLAGS) -o $@ $^
-obj/%.o: src/%.c src/*.h
+obj/%.o: src/%.c src/*.h src/*/*.h
@mkdir -p -- "$$(dirname -- "$@")"
$(CC) $(CCFLAGS) $(CPPFLAGS) -c -o $@ $<