# dmakefile
#
# makefile for the picpak example
#
#created by mark carter 25.10.95

CFLAGS = -// -E err.txt

#change this to suit your needs. PPDIR pointa to the picpak directory
PPDIR = /picpak/


example1 : example.c
	delete err.txt
	dcc $(CFLAGS) -o example1 example.c

example2 : example.c picpak.o
	delete err.txt
	dcc $(CFLAGS) -o example2 -D WAY2 -o example2 example.c picpak.o

picpak.o : picpako.c $(PPDIR)picpak.c $(PPDIR)picpak.h
	delete err.txt
	dcc $(CFLAGS) -o picpak.o -c picpako.c

clean :
	delete err.txt
