blob: e131b47bd685215c192916c67c5f4df2624041e4 [file] [log] [blame]
xf.lice873192023-11-08 17:10:35 -08001#*******************************************************************************
2#*******************************************************************************
3include $(COMMON_MK)
4
5##############USER COMIZE BEGIN################
6EXEC1 = syslog_monitor
7
8OBJS1 = syslog_monitor.o
9
10CFLAGS += -I.
11CFLAGS += -I$(APP_DIR)/include
12CFLAGS += -I./../inc
13
14CFLAGS += -g -Werror=implicit-function-declaration
15
16
17LDLIBS +=
18
19##############USER COMIZE END##################
20
21#*******************************************************************************
22# targets
23#*******************************************************************************
24all: $(EXEC1)
25
26$(EXEC1): $(OBJS1)
27 $(CC) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LDLIBS) $(LDLIBS_$@) -Wl,--end-group
28 @cp $@ $@.elf
29
30romfs:
31 $(ROMFSINST) $(EXEC1) /bin/$(EXEC1)
32
33clean:
34 -@rm -f $(EXEC1) *.elf *.gdb *.o
35