minix.fst/Makefile

26 lines
530 B
Makefile
Raw Normal View History

2015-08-11 22:56:19 +00:00
SOURCES = main.aii volume.aii get_file_info.aii \
2015-08-18 18:00:29 +00:00
open.aii get_dir_entry.aii get_mark.aii set_mark.aii get_eof.aii \
close.aii read.aii \
id_disk.aii stubs.aii tables.aii device.aii params.aii globals.aii
2015-08-11 22:56:19 +00:00
OBJECTS=$(SOURCES:.aii=.o)
LD=mpw linkIIgs
ASM=mpw asmIIgs
#ASMFLAGS=-d DEBUG_S16 -d DebugSymbols
2015-08-17 00:53:43 +00:00
ASMFLAGS=-case on -d DebugSymbols
2015-08-11 22:56:19 +00:00
LDFLAGS=
minix.fst : Makefile $(OBJECTS)
$(LD) $(LDFLAGS) -t \$$BD -at \$$0000 $(OBJECTS) -o $@
clean:
rm -f minix.fst $(OBJECTS)
2015-08-11 22:56:19 +00:00
#.aii.o:
%.o : %.aii
$(ASM) $(ASMFLAGS) $< -o $@