blob: e131b47bd685215c192916c67c5f4df2624041e4 [file] [log] [blame]
#*******************************************************************************
#*******************************************************************************
include $(COMMON_MK)
##############USER COMIZE BEGIN################
EXEC1 = syslog_monitor
OBJS1 = syslog_monitor.o
CFLAGS += -I.
CFLAGS += -I$(APP_DIR)/include
CFLAGS += -I./../inc
CFLAGS += -g -Werror=implicit-function-declaration
LDLIBS +=
##############USER COMIZE END##################
#*******************************************************************************
# targets
#*******************************************************************************
all: $(EXEC1)
$(EXEC1): $(OBJS1)
$(CC) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LDLIBS) $(LDLIBS_$@) -Wl,--end-group
@cp $@ $@.elf
romfs:
$(ROMFSINST) $(EXEC1) /bin/$(EXEC1)
clean:
-@rm -f $(EXEC1) *.elf *.gdb *.o