aboutsummaryrefslogtreecommitdiff
path: root/src/tools/Makefile.nmake
blob: fda1990e0bd5538bb3c00289d3bfb493b25bca11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: tor-resolve.exe tor-gencert.exe

CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common /I ..\or

LIBS = ..\..\..\build-alpha\lib\libevent.lib \
 ..\..\..\build-alpha\lib\libcrypto.lib \
 ..\..\..\build-alpha\lib\libssl.lib \
 ..\..\..\build-alpha\lib\libz.lib \
 ws2_32.lib advapi32.lib shell32.lib \
 crypt32.lib gdi32.lib user32.lib

tor-gencert.exe: tor-gencert.obj
	$(CC) $(CFLAGS) $(LIBS) ..\common\*.lib tor-gencert.obj

tor-resolve.exe: tor-resolve.obj
	$(CC) $(CFLAGS) $(LIBS) ..\common\*.lib tor-resolve.obj

clean:
	del *.obj *.lib *.exe