source: trunk/server/testprogs/win32/spoolss/NMakefile

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 972 bytes
Line 
1#
2# use nmake /f NMakefile [<target>]
3#
4CFLAGS = /nologo /Zi /MT /Gm- /W4 /FR /D_CRT_SECURE_NO_WARNINGS
5LIBS = kernel32.lib gdi32.lib user32.lib shell32.lib \
6 advapi32.lib ole32.lib ws2_32.lib rpcrt4.lib
7WINSPOOL_LIBS = winspool.lib
8
9all: testspoolss.exe
10
11.cpp.obj:
12 cl /c $(CFLAGS) $*.cpp
13
14.c.obj:
15 cl /c $(CFLAGS) $*.c
16
17clean: cleantmp
18 -del *.dll 2>nul
19
20cleantmp:
21 -del *~ *.o *.obj *.sbr *.bsc *.pdb *.lib *.ilk *.exp 2>nul
22 -del test_s.c test_c.c test.h 2>nul
23
24###############################
25# helpers
26###############################
27
28printlib.obj: printlib.c
29
30error.obj: error.c
31
32torture.obj: torture.c
33
34###############################
35# binaries
36###############################
37
38testspoolss.obj: testspoolss.c
39
40testspoolss.exe: testspoolss.obj printlib.obj error.obj torture.obj
41 cl $(CFLAGS) /Fe$@ testspoolss.obj printlib.obj error.obj torture.obj \
42 /link /incremental:no /subsystem:console $(LIBS) $(WINSPOOL_LIBS)
43
Note: See TracBrowser for help on using the repository browser.