diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-10 19:32:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-10 19:32:10 +0000 |
commit | 00bfdd2bc7717a0e6d6e9e61906aad1e7461ee31 (patch) | |
tree | 5bbdf689a3fa86b56db5faa1e89c27db9ee877ba /demos | |
parent | f999f32da39c1fbb46e73d74ea27ef9118e50c4f (diff) | |
download | ChibiOS-00bfdd2bc7717a0e6d6e9e61906aad1e7461ee31.tar.gz ChibiOS-00bfdd2bc7717a0e6d6e9e61906aad1e7461ee31.tar.bz2 ChibiOS-00bfdd2bc7717a0e6d6e9e61906aad1e7461ee31.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@886 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/Win32-MinGW/Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/demos/Win32-MinGW/Makefile b/demos/Win32-MinGW/Makefile index db72f2488..ed66e51fd 100644 --- a/demos/Win32-MinGW/Makefile +++ b/demos/Win32-MinGW/Makefile @@ -19,7 +19,6 @@ TRGT = mingw32-
CC = $(TRGT)gcc
AS = $(TRGT)gcc -x assembler-with-cpp
-COV = gcov
# List all default C defines here, like -D_DEBUG=1
DDEFS =
@@ -66,7 +65,7 @@ SRC = chcore.c main.c ../../ports/win32/simcom.c \ ${TESTSRC}
# List ASM source files here
-ASRC =
+ASRC =
# List all user directories here
UINCDIR = ../../src/include
@@ -80,9 +79,6 @@ ULIBS = # Define optimisation level here
OPT = -ggdb -O2 -fomit-frame-pointer
-# Debug target options here
-DOPT = -ggdb -O0 -fomit-frame-pointer -fprofile-arcs -ftest-coverage
-
#
# End of user defines
##############################################################################################
@@ -98,11 +94,9 @@ LIBS = $(DLIBS) $(ULIBS) LDFLAGS = -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR)
ASFLAGS = -Wa,-amhls=$(<:.s=.lst) $(ADEFS)
CPFLAGS = $(OPT) -Wall -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS)
-DCPFLAGS = $(DOPT) -Wall -Wstrict-prototypes -fverbose-asm -Wa,-alms=$(<:.c=.lst) $(DEFS)
# Generate dependency information
CPFLAGS += -MD -MP -MF .dep/$(@F).d
-DCPFLAGS += -MD -MP -MF .dep/$(@F).d
#
# makefile rules
@@ -110,10 +104,6 @@ DCPFLAGS += -MD -MP -MF .dep/$(@F).d all: $(OBJS) $(PROJECT).exe
-debug: $(OBJS) $(PROJECT).exe
-CPFLAGS = $(DCPFLAGS)
-LDFLAGS += -lgcov
-
%o : %c
$(CC) -c $(CPFLAGS) -I . $(INCDIR) $< -o $@
@@ -134,12 +124,9 @@ clean: -rm -f $(PROJECT).map
-rm -f $(SRC:.c=.c.bak)
-rm -f $(SRC:.c=.lst)
- -rm -f $(SRC:.c=.gcno)
- -rm -f $(SRC:.c=.gcda)
-rm -f $(ASRC:.s=.s.bak)
-rm -f $(ASRC:.s=.lst)
-rm -fR .dep
- -rm -fR gcov
#
# Include the dependency files, should be the last of the makefile
|