## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
# $Id: Makefile.nmake,v 1.10 2004/06/26 02:16:16 guy Exp $

include ..\..\config.nmake

############### no need to modify below this line #########

CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../.. $(GLIB_CFLAGS) \
	$(PCRE_CFLAGS) /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)

CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL 

.c.obj::
   $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<


OBJECTS = \
	ftypes.obj		\
	ftype-bytes.obj		\
	ftype-double.obj	\
	ftype-integer.obj	\
	ftype-ipv4.obj		\
	ftype-none.obj		\
	ftype-pcre.obj		\
	ftype-string.obj	\
	ftype-time.obj		\
	ftype-tvbuff.obj


ftypes.lib	: $(OBJECTS)
	link /lib /out:ftypes.lib $(OBJECTS)


clean:
	rm -f $(OBJECTS) ftypes.lib $(PDB_FILE)

distclean: clean
