aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fa12410..94b203e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,15 +5,15 @@ all: bus
bus: bin/bus
-bin/bus: obj/cmdline.o
+bin/bus: obj/cmdline.o obj/bus.o
@echo CC -o $@
@mkdir -p bin
@${CC} -o $@ $^ ${LDFLAGS}
-obj/%.o: src/%.c
+obj/%.o: src/%.c src/*.h
@echo CC -c $<
@mkdir -p obj
- @${CC} -c -o $@ ${CPPFLAGS} ${CFLAGS} $<
+ @${CC} -Wall -Wextra -pedantic -c -o $@ ${CPPFLAGS} ${CFLAGS} $<
clean:
@echo cleaning