diff options
author | Claudio Fontana <claudio.fontana@huawei.com> | 2013-09-24 15:23:27 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-04-25 13:07:15 +0100 |
commit | f39cb1b246bcf2e843af69e89d5c6b8acff61ec4 (patch) | |
tree | fd3771debe2356ce5ee85bdedd70437d98200965 /Makefile | |
parent | ee7a43e9f0830dc567eddb7d9fe1bb748e03776f (diff) |
configure: add -h,--help text, also add CPPFLAGS
Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,10 +25,10 @@ OBJS=$(SRCS:.c=.o) all: $(PROG) $(BINS) $(PROG): $(OBJS) - $(CC) $(CFLAGS) -o $@ $^ + $(CC) -o $@ $^ %.o: %.c $(HDRS) - $(CC) $(CFLAGS) -o $@ -c $< + $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $< %_$(ARCH).bin: %_$(ARCH).elf $(OBJCOPY) -O binary $< $@ |