diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fa12410 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +# bus - simple message broadcasting IPC system +# See LICENSE file for copyright and license details. + +all: bus + +bus: bin/bus + +bin/bus: obj/cmdline.o + @echo CC -o $@ + @mkdir -p bin + @${CC} -o $@ $^ ${LDFLAGS} + +obj/%.o: src/%.c + @echo CC -c $< + @mkdir -p obj + @${CC} -c -o $@ ${CPPFLAGS} ${CFLAGS} $< + +clean: + @echo cleaning + @-rm -rf obj bin + +.PHONY: all bus clean install uninstall + |