# List the C files to be test here:
SRC = b.c \
add.c \
+ add2.c \
+ add3.c \
bool1.c \
call1.c \
compare.c \
compare2.c \
+ compare3.c \
+ compare4.c \
+ compare5.c \
+ compare6.c \
for.c \
- while.c
+ rotate1.c \
+ rotate2.c \
+ rotate3.c \
+ struct1.c \
+ sub.c \
+ sub2.c \
+ switch1.c \
+ while.c \
+ xor.c
COD := $(patsubst %.c, %.cod, $(SRC))
ASM := $(patsubst %.c, %.asm, $(SRC))
# The .cod files are generated by gpasm
# these get loaded by gpsim.
.asm.cod:
- gpasm $*.asm
+ gpasm -c $*.asm
# The .stc files are script files for gpsim
.cod.stc: