fi
# compile
-# ../../bin/sdcc -S -mpic14 $1.c
-../../bin/sdcc -c -mpic14 -pp16f873 $1.c
-#gpasm -c -I /usr/local/share/gpasm/header $1.asm
-#gpasm $1.asm
+
+../../bin/sdcc -I ../../device/include/pic -c -mpic14 -pp16f877 $1.c
+
# create the executable
-gplink --map -c -s 16f877.lkr -o $1.o $1.o
+gplink --map -c -o $1.o $1.o
./create_stc $1.cod $1.stc
./simulate $1.stc garbage.log
-cat garbage.log
-rm garbage.log