diff options
author | Benedikt Böhm <bb@xnull.de> | 2009-05-18 20:53:42 +0200 |
---|---|---|
committer | Benedikt Böhm <bb@xnull.de> | 2009-05-18 20:53:42 +0200 |
commit | 49f510d2d60129526832bfcd9c0f4049962bc80e (patch) | |
tree | 2828b773c75bdbc4014a3421c8046778a1a2b11b /src/emu/Makefile | |
parent | 144258f0196b69cbdd2f29bd501276942efc3182 (diff) | |
download | swppy-49f510d2d60129526832bfcd9c0f4049962bc80e.tar.gz swppy-49f510d2d60129526832bfcd9c0f4049962bc80e.tar.xz swppy-49f510d2d60129526832bfcd9c0f4049962bc80e.zip |
move stuff around and create initial source structure
Diffstat (limited to 'src/emu/Makefile')
-rw-r--r-- | src/emu/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/emu/Makefile b/src/emu/Makefile new file mode 100644 index 0000000..86d4aba --- /dev/null +++ b/src/emu/Makefile @@ -0,0 +1,19 @@ +CC = gcc +CFLAGS = -std=c99 -D_GNU_SOURCE -Wall -Wextra -pedantic -ggdb3 +LDFLAGS = -lreadline + +all: risci riscas + +risci: asm.c cpu.c mem.c opc.c syscall.c + +riscas: asm.c opc.c + +test: riscas test.S + ./riscas test.S test + +check: risci test + ./risci -d test + +clean: + rm -f test + rm -f riscas risci |