host-fst/Makefile
2017-02-18 13:57:42 -05:00

32 lines
584 B
Makefile

LD=mpw linkIIgs
ASM=mpw asmIIgs
#ASMFLAGS=-d DEBUG_S16 -d DebugSymbols
ASMFLAGS=-case on -l
LDFLAGS=
all : host.driver host.fst
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
host.fst.o : host.fst.aii gsos.equ fst.equ records.equ fst.macros
.PHONY : clean
clean :
$(RM) -- host.fst host.driver *.o
%.o : %.aii
$(ASM) $(ASMFLAGS) $< -o $@