]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - iot-gateway/lighting-gateway.git/blob - zbFwStart/makefile
Fixed boot command to work with old and new bootloader
[iot-gateway/lighting-gateway.git] / zbFwStart / makefile
1 \r
2 SBU_REV= "0.1"\r
3 \r
4 \r
5 GCC = gcc\r
6 \r
7 CFLAGS = -Wall -DVERSION_NUMBER=${SBU_REV}\r
8 OBJECTS = zbFwStart.o ../zbSocDriver/zbSocCmd.o\r
9 INCLUDE = -I../zbSocDriver/\r
10 DEFS =\r
11 \r
12 APP_NAME=zbFwStart.bin\r
13 \r
14 .PHONY: all, clean\r
15 \r
16 ${APP_NAME}: ${OBJECTS}\r
17         $(GCC) $(CFLAGS) $(OBJECTS) -o ${APP_NAME}\r
18 \r
19 %.o: %.c\r
20         ${GCC} ${CFLAGS} ${INCLUDE} ${DEFS} -c -o $@ $<\r
21 \r
22 all: ${APP_NAME}\r
23 \r
24 clean:\r
25         rm -rf *.o ${APP_NAME}\r
26         rm -rf ../zbSocDriver/*.o ${APP_NAME}\r