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