# makefile to make loader
# loader is part of amiga minix but should be run from the
# normal amiga os (startup-sequence or cli, not workbench)
# this makefile has been tested with manx aztec c 3.4a only,
# you can NOT compile the loader with the minix c compiler.
# files needed: loader.h, loader.c, loaderasm.s, transfer.h,
# loadersyms.h

loader: loader.o loaderasm.o
    ln -o loader loader.o loaderasm.o -lc

loader.o: transfer.h loader.h loader.syms loader.c
    cc +Iloader.syms -DDEBUG -o loader.o loader.c

loaderasm.o: loaderasm.s
    as -o loaderasm.o loaderasm.s

loader.syms: loadersyms.h
    cc +Hloader.syms loadersyms.h
