KPSELIB=../../kpathsea/kpathsea620.lib
CC=cl
CFLAGS=-O2 -MD -W3 -EHsc -I. -I../src -I../othersrc/gsdllinc \
-DDEFAULTGS=rungs
pstoedit.exe: pstoedit.obj
	$(CC) -Fe$@ pstoedit.obj $(KPSELIB)

pstoedit.obj: pstoedit.c
	$(CC) $(CFLAGS) -c $<

clean::
	rm *~ *.obj *.exe

MYDIR=c:/usr/local/bin
DISTDIR=c:/usr/work/edrive/wk/dist/PSTOEDIT/bin

install: pstoedit.exe
	cp -p pstoedit.exe $(MYDIR)/
	cp -p pstoedit.exe $(DISTDIR)/
