CC = ../../bin/sdcc
LINKER = gplink
TARGETPIC = 16f873
+TARGETPIC2 = 16f877
CFLAGS = -mpic14 -c -pp$(TARGETPIC)
.SUFFIXES: .asm .c .cod .stc
rotate3.c \
rotate4.c \
rotate5.c \
- struct1.c \
sub.c \
sub2.c \
switch1.c \
xor.c \
ptrfunc.c
+# struct1.c \
# mul1.c \
COD := $(patsubst %.c, %.cod, $(SRC))
# The .cod files are generated by gpasm
# these get loaded by gpsim.
.o.cod:
- $(LINKER) --map -c -s $(TARGETPIC).lkr -o $*.o $*.o
+ $(LINKER) --map -c -s $(TARGETPIC2).lkr -o $*.o $*.o
# gpasm $*.asm
asm : $(ASM)
stc : $(STC)
+ echo $(STC)
test: $(STC)
echo "Done - Results are in $(LOGFILE)"