add3.c \
and1.c \
bool1.c \
+ bool2.c \
+ bool3.c \
call1.c \
compare.c \
compare2.c \
compare5.c \
compare6.c \
for.c \
+ nestfor.c \
or1.c \
rotate1.c \
rotate2.c \
rotate3.c \
+ rotate4.c \
+ rotate5.c \
struct1.c \
sub.c \
sub2.c \
while.c \
xor.c
+# mul1.c \
+
COD := $(patsubst %.c, %.cod, $(SRC))
ASM := $(patsubst %.c, %.asm, $(SRC))
STC := $(patsubst %.c, %.stc, $(SRC))
# The asm files are generated by sdcc
.c.asm:
- $(CC) -mpic14 -c $*.c
+ $(CC) -mpic14 -S $*.c
# The .cod files are generated by gpasm
# these get loaded by gpsim.
# The .stc files are script files for gpsim
.cod.stc:
./$(CREATESTC) $*.cod $*.stc
- echo "Created $*.stc"
./$(SIMULATE) $*.stc $(LOGFILE)
# this will also make .stc files