minix.fst/Makefile

27 lines
597 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 \
2015-09-02 15:41:27 +00:00
close.aii read.aii flush.aii judge_name.aii get_dev_num.aii \
2015-08-26 17:31:23 +00:00
id_disk.aii stubs.aii tables.aii device.aii params.aii globals.aii \
debug.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-26 17:31:23 +00:00
ASMFLAGS=-case on -d DebugSymbols -d DEBUG_S16
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 $@