X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fregression%2FMakefile;fp=src%2Fregression%2FMakefile;h=1abd1d97f1569e7d6a476395e87ed217b3d6e24b;hb=6de2afd5e99e3c470349c6c342e5c3cc2a569832;hp=d2914e34fb86565e46e8bafb361f71cb6651392c;hpb=76f5c1f588c9d887958d74fb7aa7b5832ee41a67;p=fw%2Fsdcc diff --git a/src/regression/Makefile b/src/regression/Makefile index d2914e34..1abd1d97 100644 --- a/src/regression/Makefile +++ b/src/regression/Makefile @@ -66,26 +66,27 @@ CREATESTC = create_stc SIMULATE = simulate # List the C files to be test here: -SRC = b.c \ - add.c \ +SRC = add.c \ add2.c \ add3.c \ - and1.c \ + add4.c \ and2.c \ + arrays.c \ b.c \ + bank1.c \ bool1.c \ + bool2.c \ bool3.c \ call1.c \ compare.c \ compare2.c \ compare3.c \ - compare4.c \ - compare5.c \ - compare6.c \ + configword.c \ for.c \ inline.c \ + mult1.c \ nestfor.c \ - or1.c \ + pointer1.c \ ptrarg.c \ ptrfunc.c \ rotate1.c \ @@ -93,30 +94,24 @@ SRC = b.c \ rotate3.c \ rotate4.c \ rotate5.c \ + string1.c \ + struct1.c \ sub.c \ sub2.c \ switch1.c \ while.c \ xor.c -# arrays.c \ -# add4.c \ -# bank1.c \ # compare7.c \ # compare8.c \ # compare9.c \ # compare10.c \ -# configword.c \ -# mult1.c \ -# pointer1.c \ # rotate6.c \ # rotate7.c \ -# string1.c \ -# struct1.c \ -# bool2.c \ COD := $(patsubst %.c, %.cod, $(SRC)) ASM := $(patsubst %.c, %.asm, $(SRC)) -O := $(patsubst %.c, %.o, $(SRC)) +O := $(patsubst %.c, %.o, $(SRC)) +P := $(patsubst %.c, %.p, $(SRC)) STC := $(patsubst %.c, %.stc, $(SRC)) HEX := $(patsubst %.c, %.hex, $(SRC)) LST := $(patsubst %.c, %.lst, $(SRC)) @@ -164,6 +159,12 @@ cleano: if [ -f $$f ]; then rm $$f; fi \ done ; \ +cleanp: + files="$(P)" ; \ + for f in $$files ; do \ + if [ -f $$f ]; then rm $$f; fi \ + done ; \ + cleanasm: files="$(ASM)" ; \ for f in $$files ; do \ @@ -188,5 +189,11 @@ cleanlst: if [ -f $$f ]; then rm $$f; fi \ done ; \ -clean: cleancod cleanasm cleanstc cleano cleanhex cleanlst +cleanmap: + files="$(MAP)" ; \ + for f in $$files ; do \ + if [ -f $$f ]; then rm $$f; fi \ + done ; \ + +clean: cleancod cleanasm cleanstc cleano cleanp cleanhex cleanlst cleanmap if [ -f "$(LOGFILE)" ]; then rm $(LOGFILE); fi