CCFLAGS = -c -fa -apcs 3/32bit -depend !Depend -IC:,GimpPrintInclude:,OSLib: -DGPDRIVER_GUI -Wnp -throwback

SRC = gpdriver.c image.c gpd_gui.c

OBJS = gpdriver.o image.o gpd_gui.o

^.!GPDriver.!RunImage: $(OBJS) GimpPrintLib:libgimpprint.o OSLib:OSLib32.o
	link -aif -rescan -o ^.!GPDriver.!RunImage C:stubs.o $(OBJS) GimpPrintLib:libgimpprint.o OSLib:OSLib32.o
	squeeze ^.!GPDriver.!RunImage

.SUFFIXES: .s .c .o
.c.o:;	cc $(CCFLAGS) -o $*.o $*.c
.s.o:;	objasm -apcs 3/32bit -throwback -NoCache -from $< -to $@

# Dynamic dependencies:
o.gpdriver:	c.gpdriver
o.gpdriver:	GimpPrintInclude:gimp-print.h.gimp-print
o.gpdriver:	OSLib:oslib.h.osfind
o.gpdriver:	OSLib:oslib.h.types
o.gpdriver:	OSLib:oslib.h.os
o.gpdriver:	OSLib:oslib.h.oscore32
o.gpdriver:	OSLib:oslib.h.osf32
o.gpdriver:	OSLib:oslib.h.fileswitch
o.gpdriver:	OSLib:oslib.h.fileswch32
o.gpdriver:	OSLib:oslib.h.osfind32
o.gpdriver:	OSLib:oslib.h.osfile
o.gpdriver:	OSLib:oslib.h.osgbpb
o.gpdriver:	OSLib:oslib.h.osgbpb32
o.gpdriver:	OSLib:oslib.h.syslog
o.gpdriver:	OSLib:oslib.h.wimp
o.gpdriver:	OSLib:oslib.h.osspriteop
o.gpdriver:	OSLib:oslib.h.font
o.gpdriver:	OSLib:oslib.h.wimp32
o.gpdriver:	h.image
o.gpdriver:	h.gpd_gui
o.gpdriver:	OSLib:oslib.h.os
o.gpdriver:	h.img_types
o.gpdriver:	h.gpshared
o.gpdriver:	h.debug
o.image:	c.image
o.image:	GimpPrintInclude:gimp-print.h.gimp-print
o.image:	OSLib:oslib.h.osgbpb
o.image:	OSLib:oslib.h.types
o.image:	OSLib:oslib.h.os
o.image:	OSLib:oslib.h.oscore32
o.image:	OSLib:oslib.h.osf32
o.image:	OSLib:oslib.h.fileswitch
o.image:	OSLib:oslib.h.fileswch32
o.image:	OSLib:oslib.h.osgbpb32
o.image:	OSLib:oslib.h.osargs
o.image:	OSLib:oslib.h.osargs32
o.image:	h.image
o.image:	h.gpd_gui
o.image:	OSLib:oslib.h.os
o.image:	h.debug
o.gpd_gui:	c.gpd_gui
o.gpd_gui:	OSLib:oslib.h.os
o.gpd_gui:	OSLib:oslib.h.types
o.gpd_gui:	OSLib:oslib.h.oscore32
o.gpd_gui:	OSLib:oslib.h.osf32
o.gpd_gui:	OSLib:oslib.h.syslog
o.gpd_gui:	OSLib:oslib.h.messagetrans
o.gpd_gui:	OSLib:oslib.h.wimp
o.gpd_gui:	OSLib:oslib.h.osspriteop
o.gpd_gui:	OSLib:oslib.h.font
o.gpd_gui:	OSLib:oslib.h.wimp32
o.gpd_gui:	h.gpd_gui
o.gpd_gui:	OSLib:oslib.h.os
o.gpd_gui:	h.debug
o.gpd_gui:	OSLib:oslib.h.toolbox
o.gpd_gui:	OSLib:oslib.h.wimp
o.gpd_gui:	OSLib:oslib.h.displayfield
o.gpd_gui:	OSLib:oslib.h.gadget
o.gpd_gui:	OSLib:oslib.h.slider
o.gpd_gui:	OSLib:oslib.h.window
o.gpd_gui:	OSLib:oslib.h.keyboardshortcut
o.gpd_gui:	OSLib:oslib.h.actionbutton
o.gpd_gui:	OSLib:oslib.h.button
o.gpd_gui:	OSLib:oslib.h.proginfo
