aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crc/Makefile.nmake
blob: b4e37e2e7ec6acf43b42b1fffdcbf078506d9f28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Makefile for building crc.lib with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
# $Id$

include ..\..\config.nmake
include Makefile.common

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

CFLAGS=-WX -DHAVE_CONFIG_H $(GLIB_CFLAGS) -D_U_="" /I../.. $(LOCAL_CFLAGS)

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

CRC_OBJECTS = $(CRC_SRC:.c=.obj)

crc.lib: $(CRC_OBJECTS) 
	link /lib /out:crc.lib $(CRC_OBJECTS) 

clean:
        rm -f $(CRC_OBJECTS) crc.lib *.pdb

distclean: clean

maintainer-clean: distclean

checkapi:
	$(PERL) ../../tools/checkAPIs.pl -g termoutput \
	$(CRC_SRC)