1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00
2015-05-20 19:02:17 +07:00

21 lines
553 B
Makefile

OFILES = vimlac.o cpu.o dcpu.o ptr.o ptp.o memory.o kb.o ttyin.o ttyout.o trace.o
CFLAGS=-shared -fPIC -O2 -Wall -ansi -pedantic -std=c99 -g
test: vimlac.py vimlac
#python vimlac.py -ptr test_add.ptp -r 040 -r 0100
vimlac
vimlac: ${OFILES} Makefile
#gcc -o vimlac.so -shared -fPIC ${OFILES}
gcc -o vimlac ${OFILES}
test_ptr: test_ptr.c ptr.c ptr.h Makefile
gcc -o test_ptr ptr.c test_ptr.c
test_memory: test_memory.c memory.c memory.h Makefile
gcc -o test_memory memory.c test_memory.c
clean:
rm -f *.pyc *.o vimlac test_ptr test_memory *~