File tree 6 files changed +23
-10
lines changed
6 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ distclean: clean
42
42
make -C detok distclean
43
43
make -C romheaders distclean
44
44
make -C testsuite distclean
45
+ find . -name " *.gcda" -exec rm -f \{\} \;
46
+ find . -name " *.gcno" -exec rm -f \{\} \;
45
47
46
48
tests : all
47
49
cp toke/toke testsuite
Original file line number Diff line number Diff line change @@ -27,10 +27,19 @@ PROGRAM = detok
27
27
CC = gcc
28
28
STRIP = strip
29
29
INCLUDES = -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
32
33
LDFLAGS =
33
34
35
+ # Coverage:
36
+ # CFLAGS := $(CFLAGS) -fprofile-arcs -ftest-coverage
37
+ # LDFLAGS := $(LDFLAGS) -lgcov
38
+
39
+ # Debugging:
40
+ # CFLAGS := $(CFLAGS) -g
41
+
42
+
34
43
OBJS = addfcodes.o decode.o detok.o dictionary.o pcihdr.o printformats.o \
35
44
stream.o ../shared/classcodes.o
36
45
Original file line number Diff line number Diff line change 4
4
5
5
6
6
clean :
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 \{\} \;
10
10
find . -name " *.fl" -exec rm -f \{\} \;
11
11
find . -name " *.RomHdr" -exec rm -f \{\} \;
12
12
find . -name " *.P" -exec rm -f \{\} \;
Original file line number Diff line number Diff line change @@ -28,14 +28,16 @@ CC = gcc
28
28
STRIP = strip
29
29
INCLUDES = -I../shared
30
30
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
34
33
LDFLAGS =
35
34
36
35
# 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
39
41
40
42
OBJS = clflags.o conditl.o devnode.o dictionary.o emit.o errhandler.o \
41
43
flowcontrol.o macros.o nextfcode.o parselocals.o scanner.o stack.o \
You can’t perform that action at this time.
0 commit comments