root / logic / trunk / Makefile @ 24
History | View | Annotate | Download (368 Bytes)
1 | 7 | alexbesir | # |
---|---|---|---|
2 | 8 | alexbesir | # 2011, Aleksander Besir (alex.besir@gmail.com) |
3 | 7 | alexbesir | # |
4 | |||
5 | CC=gcc |
||
6 | CFLAGS=-Wall -I . |
||
7 | BIN=bin |
||
8 | SRC=src |
||
9 | |||
10 | OBJ=$(SRC)/hci_comm/hci_comm_listener.o $(SRC)/startup/main.o |
||
11 | OBJC=$(SRC)/buf.h $(SRC)/buf_nf.c $(SRC)/buf_sim.h $(SRC)/buf_sim.c |
||
12 | |||
13 | all: $(BIN)/startup |
||
14 | |||
15 | %.o: %.c |
||
16 | $(CC) -c -o $@ $< $(CFLAGS) |
||
17 | |||
18 | 8 | alexbesir | $(BIN)/startup: $(OBJ) |
19 | $(CC) -o $(BIN)/startup $^ $(CFLAGS) |