diff options
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..68fe8da --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ + +dis : dis.o 68kinst.o + $(CC) -o dis dis.o 68kinst.o + +test_x86 : test_x86.o gen_x86.o + $(CC) -o test_x86 test_x86.o gen_x86.o + +gen_fib : gen_fib.o gen_x86.o mem.o + $(CC) -o gen_fib gen_fib.o gen_x86.o mem.o + +%.o : %.S + $(CC) -c -o $@ $< + +%.o : %.c + $(CC) -ggdb -c -o $@ $< + +clean : + rm -rf dis test_x86 gen_fib *.o |