#
#	Makefile for the Mandelbrot Construction Set by Olaf Seibert, KosmoSoft
#	     ** For use in RamDisk with Mandelbrot work disk in df1: **
#

OBJECTS = main.o gotmenu.o getfile.o jiff.o palette.o menu.o
HEADERS = mandel.h
LIBS = -lm -lc
DUMP = ii
CFLAGS = +I$(DUMP)

main:	$(OBJECTS) $(DUMP)
	ln $(OBJECTS) $(LIBS)

debug:	$(OBJECTS) $(DUMP)
	ln -w $(OBJECTS) $(LIBS)

df1:	main
	copy main df1:main$(N)

ramdisk:
	copy df1:#?.o ram:

main.o:     $(DUMP)
gotmenu.o:  $(DUMP)
getfile.o:  $(DUMP)
jiff.o:     $(DUMP)
palette.o:  $(DUMP)
menu.o:		$(DUMP)

$(DUMP):
	copy df1:$(DUMP) ram:
