aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crc/Makefile.nmake
blob: 9b336d80406842ae949f79f9c0445b1ae75f2aa8 (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
31
## 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=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
	 /I../.. $(GLIB_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)