summaryrefslogtreecommitdiff
path: root/apps/examples/elf/tests/struct/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/elf/tests/struct/Makefile')
-rw-r--r--apps/examples/elf/tests/struct/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/elf/tests/struct/Makefile b/apps/examples/elf/tests/struct/Makefile
index c15d8fc47..3aa0e4a57 100644
--- a/apps/examples/elf/tests/struct/Makefile
+++ b/apps/examples/elf/tests/struct/Makefile
@@ -36,7 +36,7 @@
-include $(TOPDIR)/.config
-include $(TOPDIR)/Make.defs
-CFLAGS += -I.
+CELFFLAGS += -I.
BIN = struct
SRCS = struct_main.c struct_dummy.c
@@ -46,7 +46,7 @@ all: $(BIN)
$(OBJS): %.o: %.c
@echo "CC: $<"
- @$(CC) -c $(CFLAGS) $< -o $@
+ @$(CC) -c $(CELFFLAGS) $< -o $@
$(BIN): $(OBJS)
@echo "LD: $<"