fi
# compile
-../../bin/sdcc -c -mpic14 $1.c
-gpasm -c -I /usr/local/share/gpasm/header $1.asm
+
+../../bin/sdcc -I ../../device/include/pic -c -mpic14 -pp16f877 $1.c
+
+
+# create the executable
+
+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
\ No newline at end of file