root / logic / trunk / Makefile @ 24
History | View | Annotate | Download (368 Bytes)
1 |
# |
---|---|
2 |
# 2011, Aleksander Besir (alex.besir@gmail.com) |
3 |
# |
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 |
$(BIN)/startup: $(OBJ) |
19 |
$(CC) -o $(BIN)/startup $^ $(CFLAGS) |