diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-16 19:28:39 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-16 19:28:39 +0200 |
commit | 0c0d0ca0da8060484ab5f41a6ee73087755a69e3 (patch) | |
tree | dd455f5a29edba440f2194a60fc06f0ceed8f397 /Makefile | |
parent | attributes (diff) | |
download | coopgammad-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-- | Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -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 $@ $< |