summaryrefslogtreecommitdiff
path: root/util/romcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/Makefile')
-rw-r--r--util/romcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/romcc/Makefile b/util/romcc/Makefile
index ad209a5247..d2d4e7dcb9 100644
--- a/util/romcc/Makefile
+++ b/util/romcc/Makefile
@@ -7,12 +7,16 @@ PACKAGE:=romcc
CC=gcc
CPPFLAGS=-DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(RELEASE_DATE)"'
CFLAGS=-O -g -Wall $(CPPFLAGS)
+CPROF_FLAGS=-pg -fprofile-arcs
all: romcc test
romcc: romcc.c Makefile
$(CC) $(CFLAGS) -o $@ $<
+romcc_pg: romcc.c Makefile
+ $(CC) $(CFLAGS) $(CPROF_FLAGS) -o $@ $<
+
TESTS=\
hello_world.c \
simple_test.c \
@@ -45,6 +49,7 @@ TESTS=\
simple_test28.c \
simple_test29.c \
simple_test30.c \
+ simple_test31.c \
raminit_test.c \
raminit_test2.c \
raminit_test3.c