###############################################################################
#
#	(c) Tilakraj Roy Choudhury & Lee Woon Jeong 1994 - 1996
#
#	makefile for plugplay confiuration utility 
#
#	Note :
#	Ensure that environment settings LIB and INCLUDE are set to point to
#	the respective library and header directories and that cl is in PATH
#	Uses MSVC V1.5 16 bit 
#
###############################################################################
PROJECT = plugplay

OBJS 	= parser.obj  config.obj
LIBS	= oldnames mlibce 

goal:	$(PROJECT).exe

$(PROJECT).exe:	$(OBJS)
	link /NOI /STACK:5120 /ONERROR:NOEXE /MAP @<<
	$(OBJS)
	$(PROJECT).exe
	$(PROJECT).map
	$(LIBS)

<<

parser.obj: parser.cpp config.h parser.h
	cl -c -G3 -W3 -Zp1 -AM -Foparser.obj parser.cpp

config.obj: config.cpp config.h pnp.h
	cl -c -G3 -W3 -Zp1 -AM -Foconfig.obj config.cpp

clean:
	*.obj
	*.exe
	*.bak
	*.map

