diff os9/Makefile @ 0:9a224bd9b45f

os9 emulation
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 02 Jul 2018 02:12:31 +0900
parents
children 3c736a81b886
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/os9/Makefile	Mon Jul 02 02:12:31 2018 +0900
@@ -0,0 +1,20 @@
+all: os9mod makerom os9disass os9.rom
+
+CC=clang
+CFLAGS = -g
+
+os9mod : crc.c os9.h os9mod.c os9.h
+	$(CC) $(CFLAGS) -o os9mod crc.c  os9mod.c
+
+makerom : makerom.c
+	$(CC) $(CFLAGS) -o makerom  makerom.c
+
+os9disass : os9disass.c
+	$(CC) $(CFLAGS) -Wno-format-security -o os9disass  os9disass.c
+
+os9.rom : makerom modules/init.b modules/pty.b
+	./makerom os9.rom modules/Shell modules/init.b modules/mdir modules/SysGo modules/IOMan modules/SCF modules/pty-dd.b modules/pty.b modules/OS9p2 modules/OS9
+
+os9b.rom : makerom modules/init.b modules/pty.b
+	./makerom os9b.rom modules/Basic09 modules/Shell modules/init.b modules/mdir modules/SysGo modules/IOMan modules/SCF modules/pty-dd.b modules/pty.b modules/OS9p2 modules/OS9
+