1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-02-02 23:10:58 +00:00
Files
DoctorWkt.pdp7-unix/build/Makefile
2016-03-14 16:51:25 +10:00

27 lines
531 B
Makefile

# Build the kernel, the filesystem and run SimH
# Put any defines for as7 here
#DEFINES=
AS=../tools/as7 $(DEFINES)
MKFS=../tools/mkfs7
SYS=../src/sys
all: a.rim image.fs
run: a.rim image.fs
pdp7 unixv0.simh
a.rim:
$(AS) -f rim -o a.rim $(SYS)/sop.s $(SYS)/s[1-8].s
$(AS) -n -f list -o a.lst $(SYS)/sop.s $(SYS)/s[1-8].s
coldboot:
$(AS) -f rim -o a.rim $(SYS)/sop.s $(SYS)/s[1-9].s
$(AS) -n -f list -o a.lst $(SYS)/sop.s $(SYS)/s[1-9].s
image.fs:
$(MKFS) --format simh proto
clean:
rm -f a.rim image.fs a.lst n.out