aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/RT-Win32-Simulator/Makefile
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-07 13:43:27 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-07 13:43:27 +0000
commitd3f5e53d03b3288568f1d591ee16f662a630f127 (patch)
treefd3020083c6d672735c2305e439c4d94adf13fc5 /demos/various/RT-Win32-Simulator/Makefile
parente09208306bbc7c1c1ff533a95f6e126f8e56c030 (diff)
downloadChibiOS-d3f5e53d03b3288568f1d591ee16f662a630f127.tar.gz
ChibiOS-d3f5e53d03b3288568f1d591ee16f662a630f127.tar.bz2
ChibiOS-d3f5e53d03b3288568f1d591ee16f662a630f127.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7730 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/various/RT-Win32-Simulator/Makefile')
-rw-r--r--demos/various/RT-Win32-Simulator/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/various/RT-Win32-Simulator/Makefile b/demos/various/RT-Win32-Simulator/Makefile
index 8c6e0105b..ca25fd0d9 100644
--- a/demos/various/RT-Win32-Simulator/Makefile
+++ b/demos/various/RT-Win32-Simulator/Makefile
@@ -21,7 +21,7 @@ CC = $(TRGT)gcc
AS = $(TRGT)gcc -x assembler-with-cpp
# List all default C defines here, like -D_DEBUG=1
-DDEFS = -DSIMULATOR -DSHELL_USE_IPRINTF=FALSE
+DDEFS = -DSIMULATOR
# List all default ASM defines here, like -D_DEBUG=1
DADEFS =
@@ -93,7 +93,7 @@ ULIBDIR =
ULIBS =
# Define optimisation level here
-OPT = -ggdb -O2 -fomit-frame-pointer
+OPT = -ggdb -O2
#
# End of user defines
@@ -108,7 +108,7 @@ LIBS = $(DLIBS) $(ULIBS)
LDFLAGS = -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR)
ASFLAGS = -Wa,-amhls=$(<:.s=.lst) $(ADEFS)
-CPFLAGS = $(OPT) -Wall -Wextra -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS)
+CPFLAGS = -Wall -Wextra -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS)
# Generate dependency information
CPFLAGS += -MD -MP -MF .dep/$(@F).d
@@ -120,13 +120,13 @@ CPFLAGS += -MD -MP -MF .dep/$(@F).d
all: $(OBJS) $(PROJECT).exe
%.o : %.c
- $(CC) -c $(CPFLAGS) -I . $(INCDIR) $< -o $@
+ $(CC) -c $(OPT) $(CPFLAGS) -I . $(INCDIR) $< -o $@
%.o : %.s
- $(AS) -c $(ASFLAGS) $< -o $@
+ $(AS) -c $(OPT) $(ASFLAGS) $< -o $@
%exe: $(OBJS)
- $(CC) $(OBJS) $(LDFLAGS) $(LIBS) -o $@
+ $(CC) $(OPT) $(OBJS) $(LDFLAGS) $(LIBS) -o $@
gcov:
-mkdir gcov