host-fst/Makefile

38 lines
691 B
Makefile
Raw Normal View History

LD=mpw linkIIgs
ASM=mpw asmIIgs
#ASMFLAGS=-d DEBUG_S16 -d DebugSymbols
2016-10-17 00:22:51 +00:00
ASMFLAGS=-case on -l
LDFLAGS=
all : host.driver host.fst boot.sys
host.fst : host.fst.o
$(LD) -t \$$BD -at \$$0000 $< -o $@
# aux type (-at)
# $8000 = inactive
# $0100 = gs/os driver
# $00xx = number of devices supported (should match dib)
host.driver : host.driver.o
$(LD) -t \$$BB -at \$$0101 $< -o $@
host.driver.o : host.driver.aii gsos.equ
2016-10-15 23:27:47 +00:00
host.fst.o : host.fst.aii gsos.equ fst.equ records.equ fst.macros
boot: boot.o
$(LD) $< -o $@
boot.sys: boot
mpw makebiniigs -p $< -o $@ -t \$$FF
2017-02-18 18:57:42 +00:00
.PHONY : clean
clean :
$(RM) -- host.fst host.driver boot.sys boot *.o
%.o : %.aii
2016-10-17 00:22:51 +00:00
$(ASM) $(ASMFLAGS) $< -o $@
2017-02-15 01:05:38 +00:00