diff options
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile index 88fd32bafd..ecac408a85 100644 --- a/apps/Makefile +++ b/apps/Makefile | |||
@@ -19,8 +19,9 @@ FIRMWARE := ../firmware | |||
19 | 19 | ||
20 | INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE) -I$(FIRMWARE)/common -I$(FIRMWARE)/drivers -I$(FIRMWARE)/malloc -I. -I$(OBJDIR) | 20 | INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE) -I$(FIRMWARE)/common -I$(FIRMWARE)/drivers -I$(FIRMWARE)/malloc -I. -I$(OBJDIR) |
21 | 21 | ||
22 | # store output files in this directory: | 22 | ifndef OBJDIR |
23 | OBJDIR = . | 23 | "Don't run make in the apps dir!" |
24 | endif | ||
24 | 25 | ||
25 | CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) | 26 | CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) |
26 | AFLAGS += -small -relax | 27 | AFLAGS += -small -relax |