aboutsummaryrefslogtreecommitdiffstats
path: root/epan/compress/Makefile.nmake
blob: b4af1f03f1db3468ee56635cfeb97e9e59f4c722 (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
## Makefile for building lzxpress.lib with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake

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

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

CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
	 /I../.. $(GLIB_CFLAGS) -DWS_BUILD_DLL

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

LZXPRESS_OBJECTS = $(LIBLZXPRESS_SRC:.c=.obj)

lzxpress.lib: $(LZXPRESS_OBJECTS)
	link /lib /out:lzxpress.lib $(LZXPRESS_OBJECTS)

clean:
	rm -f $(LZXPRESS_OBJECTS) lzxpress.lib *.nativecodeanalysis.xml *.pdb *.sbr

distclean: clean

maintainer-clean: distclean

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