aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-16 05:47:40 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-16 05:47:40 +0200
commitce98d70d2b89347a4f6309f582ba03d898fee3fc (patch)
tree5c23808d32ca3f62d74a7535cd65c8f962449337 /Makefile
parentm doc (diff)
downloadbus-ce98d70d2b89347a4f6309f582ba03d898fee3fc.tar.gz
bus-ce98d70d2b89347a4f6309f582ba03d898fee3fc.tar.bz2
bus-ce98d70d2b89347a4f6309f582ba03d898fee3fc.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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