root / logic / trunk / Makefile @ 61
History | View | Annotate | Download (1.43 KB)
1 | 7 | alexbesir | # |
---|---|---|---|
2 | 8 | alexbesir | # 2011, Aleksander Besir (alex.besir@gmail.com) |
3 | 7 | alexbesir | # |
4 | |||
5 | 49 | Janez1 | CC=arm-linux-gcc |
6 | CFLAGS=-Wall -I. -pthread --sysroot=/home/arm/buildroot-2009.11-fri/output/staging |
||
7 | 7 | alexbesir | BIN=bin |
8 | SRC=src |
||
9 | |||
10 | 49 | Janez1 | OBJ=$(SRC)/hci_comm/hci_comm_listener.o $(SRC)/startup/main.o $(SRC)/init/devicelist.o $(SRC)/init/scenariolist.o $(SRC)/logics/conditions.o $(SRC)/logics/device_threads.o $(SRC)/logics/operators.o $(SRC)/logics/scenario_threads.o $(SRC)/mxml/mxml-attr.o $(SRC)/mxml/mxml-entity.o $(SRC)/mxml/mxml-file.o $(SRC)/mxml/mxml-index.o $(SRC)/mxml/mxml-node.o $(SRC)/mxml/mxml-private.o $(SRC)/mxml/mxml-search.o $(SRC)/mxml/mxml-set.o $(SRC)/mxml/mxml-string.o |
11 | 55 | Janez1 | |
12 | 49 | Janez1 | OBJC=$(SRC)/hci_comm/hci_comm_listener.h $(SRC)/hci_comm/hci_comm.h $(SRC)/init/devicelist.h $(SRC)/init/devicelist.c $(SRC)/init/scenariolist.c $(SRC)/init/scenariolist.h $(SRC)/logics/conditions.h $(SRC)/logics/conditions.c $(SRC)/logics/device_threads.h $(SRC)/logics/device_threads.c $(SRC)/logics/operators.h $(SRC)/logics/operators.c $(SRC)/logics/scenario_threads.h $(SRC)/logics/scenario_threads.c $(SRC)/mxml/config.h $(SRC)/mxml/mxml.h $(SRC)/mxml/mxml-private.h $(SRC)/mxml/mxml-attr.c $(SRC)/mxml/mxml-entity.c $(SRC)/mxml/mxml-file.c $(SRC)/mxml/mxml-index.c $(SRC)/mxml/mxml-node.c $(SRC)/mxml/mxml-private.c $(SRC)/mxml/mxml-search.c $(SRC)/mxml/mxml-set.c $(SRC)/mxml/mxml-string.c |
13 | 7 | alexbesir | |
14 | all: $(BIN)/startup |
||
15 | |||
16 | %.o: %.c |
||
17 | $(CC) -c -o $@ $< $(CFLAGS) |
||
18 | |||
19 | 8 | alexbesir | $(BIN)/startup: $(OBJ) |
20 | $(CC) -o $(BIN)/startup $^ $(CFLAGS) |