1 # TODO make libpcap an option, can use -DNETWORKING
5 # picobit-vm: picobit-vm.o gc.o bignums.o debug.o primitives.o dispatch.o
6 # cc -o picobit-vm picobit-vm.o gc.o bignums.o debug.o primitives.o dispatch.o # -lpcap
8 # TODO separate compilation does not work for the moment, see picobit-vm.c for details
9 picobit-vm
: picobit-vm.c gc.c bignums.c debug.c primitives.c dispatch.c picobit-vm.h
10 cc -o picobit-vm picobit-vm.c
15 # TODO instead, maybe have these targets change a variable (CFLAGS ?) and call the all target ?
17 cc -O
-c
-g
-DDEBUG picobit-vm.c
18 cc -O
-c
-g
-DDEBUG gc.c
19 cc -O
-c
-g
-DDEBUG bignums.c
20 cc -O
-c
-g
-DDEBUG debug.c
21 cc -O
-c
-g
-DDEBUG primitives.c
22 cc -O
-c
-g
-DDEBUG dispatch.c
26 cc -O
-c
-g
-DDEBUG
-DDEBUG_GC picobit-vm.c
27 cc -O
-c
-g
-DDEBUG
-DDEBUG_GC gc.c
28 cc -O
-c
-g
-DDEBUG
-DDEBUG_GC bignums.c
29 cc -O
-c
-g
-DDEBUG
-DDEBUG_GC debug.c
30 cc -O
-c
-g
-DDEBUG
-DDEBUG_GC primitives.c
31 cc -O
-c
-g
-DDEBUG
-DDEBUG_GC dispatch.c
34 mcc18
: picoboard2.c picobit-vm.c gc.c bignums.c debug.c primitives.c dispatch.c picobit-vm.h
35 wine ~
/.wine
/drive_c
/MCC18
/bin
/mcc18.exe
-DMCC18
-DLESS_MACROS
-I
=C
:/MCC18
/h
-p
=18f4550 picoboard2.c
36 wine ~
/.wine
/drive_c
/MCC18
/bin
/mplink.exe
-lC
:/MCC18
/lib
-mpicoboard2.map picoboard2.lkr picoboard2.o
-o picoboard2.hex
38 hi_tech_c
: picobit-vm.c gc.c bignums.c debug.c primitives.c dispatch.c picobit-vm.h
39 picc18
-DHI_TECH_C
-DLESS_MACROS
--chip
=18F4550 picobit-vm.c
42 rm -f
*.o
*~ picobit-vm