aboutsummaryrefslogtreecommitdiff
path: root/indev/psn00bdbg-mk2/testutil/makefile
diff options
context:
space:
mode:
authorlameguy64 <lameguy64@github.com>2024-05-04 18:55:05 +0800
committerlameguy64 <lameguy64@github.com>2024-05-04 18:55:05 +0800
commit702bb601fb5712e2ae962a34b89204c646fe98f5 (patch)
tree765f400d1535d37c5ff4df61d01229a7dc7d8207 /indev/psn00bdbg-mk2/testutil/makefile
parent00abe5963fbead092f91935b90390aa5a9111c43 (diff)
downloadpsn00bsdk-702bb601fb5712e2ae962a34b89204c646fe98f5.tar.gz
Included PSn00bDBG-mk2 monitor and test utility
Diffstat (limited to 'indev/psn00bdbg-mk2/testutil/makefile')
-rw-r--r--indev/psn00bdbg-mk2/testutil/makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/indev/psn00bdbg-mk2/testutil/makefile b/indev/psn00bdbg-mk2/testutil/makefile
new file mode 100644
index 0000000..be3fbe1
--- /dev/null
+++ b/indev/psn00bdbg-mk2/testutil/makefile
@@ -0,0 +1,31 @@
+CC = wcc386
+LNK = wlink
+
+CFLAGS = -q -bt=nt -w3 -d2 -odhl
+
+all : psdbtest.exe
+
+psdbtest.exe : main.obj prompt.obj comms.obj serial.obj mips_disassembler.obj exec.obj
+ wlink name psdbtest system nt f main,prompt,comms,serial,mips_disassembler,exec
+
+main.obj : main.c main.h cmdefs.h
+ $(CC) $(CFLAGS) main.c
+
+comms.obj : comms.c main.h cmdefs.h
+ $(CC) $(CFLAGS) comms.c
+
+prompt.obj : prompt.c main.h cmdefs.h
+ $(CC) $(CFLAGS) prompt.c
+
+serial.obj : serial.c
+ $(CC) $(CFLAGS) serial.c
+
+mips_disassembler.obj : mips_disassembler.c mips_disassembler.h
+ $(CC) $(CFLAGS) mips_disassembler.c
+
+exec.obj : exec.c exec.h
+ $(CC) $(CFLAGS) exec.c
+
+clean : .SYMBOLIC
+ del psdbtest.exe
+ del *.obj \ No newline at end of file