summaryrefslogtreecommitdiff
path: root/board/tqm5200/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/tqm5200/Makefile')
-rw-r--r--board/tqm5200/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/tqm5200/Makefile b/board/tqm5200/Makefile
index d0dde26..383b038 100644
--- a/board/tqm5200/Makefile
+++ b/board/tqm5200/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o cmd_stk52xx.o cmd_tb5200.o
+COBJS := $(BOARD).o cmd_stk52xx.o cmd_tb5200.o cam5200_flash.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
@@ -40,6 +40,9 @@ clean:
distclean: clean
rm -f $(LIB) core *.bak .depend
+cam5200_flash.o: cam5200_flash.c
+ $(CC) $(CFLAGS) -fno-strict-aliasing -c -o $@ $<
+
#########################################################################
# defines $(obj).depend target