1#!/usr/bin/make -f 2 3DEBUG=1 4INCDIR=/usr/local/include 5BINDIR=/usr/local/bin 6IBOPT= 7 8ifeq ($(DEBUG), 1) 9 POPT = -dUNIX -Fu$(INCDIR) -dDEBUG 10else 11 POPT = -dUNIX -Fu$(INCDIR) -dRELEASE 12endif 13 14PASFILES = crc32.pas crc.pas generalp.pas inifile.pas log.pas mkdos.pas mkffile.pas mkfile.pas mkglobt.pas mkmisc.pas mkmsgabs.pas mkmsgezy.pas mkmsgfid.pas mkmsghud.pas mkmsgjam.pas mkmsgsqu.pas mkopen.pas mkstring.pas pmknl.pas types.pas 15 16all: pmknl 17 18pmknl: $(PASFILES) 19 ppc386 $(POPT) pmknl.pas 20 21clean: 22 -rm *.o *.ppu *~ 23 24distclean: clean 25 -rm pmknl 26 27install: 28 install $(IBOPT) pmknl $(BINDIR) 29 30