aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: fa124105d4b51193e2c7a87bde55cebe3a74d2ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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