File tree Expand file tree Collapse file tree 6 files changed +23
-10
lines changed
Expand file tree Collapse file tree 6 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ distclean: clean
4242 make -C detok distclean
4343 make -C romheaders distclean
4444 make -C testsuite distclean
45+ find . -name " *.gcda" -exec rm -f \{\} \;
46+ find . -name " *.gcno" -exec rm -f \{\} \;
4547
4648tests : all
4749 cp toke/toke testsuite
Original file line number Diff line number Diff line change @@ -27,10 +27,19 @@ PROGRAM = detok
2727CC = gcc
2828STRIP = strip
2929INCLUDES = -I../shared
30- # CFLAGS = -O2 -g -Wall
31- CFLAGS = -Os -Wall -Wno-pointer-sign
30+
31+ # Normal Flags:
32+ CFLAGS = -O2 -Wall -Wno-pointer-sign
3233LDFLAGS =
3334
35+ # Coverage:
36+ # CFLAGS := $(CFLAGS) -fprofile-arcs -ftest-coverage
37+ # LDFLAGS := $(LDFLAGS) -lgcov
38+
39+ # Debugging:
40+ # CFLAGS := $(CFLAGS) -g
41+
42+
3443OBJS = addfcodes.o decode.o detok.o dictionary.o pcihdr.o printformats.o \
3544 stream.o ../shared/classcodes.o
3645
Original file line number Diff line number Diff line change 44
55
66clean :
7- find . -name " *.DeTok" -exec rm -f \{\} \;
8- find . -name " *.Log" -a ! -name " *.. OldTkzr.Log" -exec rm -f \{\} \;
9- find . -name " *.fc" -exec rm -f \{\} \;
7+ find . -name " *.DeTok" -a ! -name " *.OldTkzr.DeTok " - exec rm -f \{\} \;
8+ find . -name " *.Log" -a ! -name " *.OldTkzr.Log" -exec rm -f \{\} \;
9+ find . -name " *.fc" -a ! -name " *.OldTkzr.fc " - exec rm -f \{\} \;
1010 find . -name " *.fl" -exec rm -f \{\} \;
1111 find . -name " *.RomHdr" -exec rm -f \{\} \;
1212 find . -name " *.P" -exec rm -f \{\} \;
Original file line number Diff line number Diff line change @@ -28,14 +28,16 @@ CC = gcc
2828STRIP = strip
2929INCLUDES = -I../shared
3030
31- # No coverage:
32- # CFLAGS = -O2 -g -Wall
33- CFLAGS = -Os -Wall -Wno-pointer-sign -fno-strict-aliasing -DSYS_IS_GNU_Linux
31+ # Normal flags
32+ CFLAGS = -O2 -Wall -Wno-pointer-sign -fno-strict-aliasing -DSYS_IS_GNU_Linux
3433LDFLAGS =
3534
3635# Coverage:
37- # CFLAGS = -O2 -fprofile-arcs -ftest-coverage -Wall -Wno-pointer-sign -DSYS_IS_GNU_Linux
38- # LDFLAGS = -lgcov
36+ # CFLAGS := $(CFLAGS) -fprofile-arcs -ftest-coverage
37+ # LDFLAGS := $(LDFLAGS) -lgcov
38+
39+ # Debugging:
40+ # CFLAGS := $(CFLAGS) -g
3941
4042OBJS = clflags.o conditl.o devnode.o dictionary.o emit.o errhandler.o \
4143 flowcontrol.o macros.o nextfcode.o parselocals.o scanner.o stack.o \
You can’t perform that action at this time.
0 commit comments