aboutsummaryrefslogtreecommitdiff
path: root/src/tools/Makefile.nmake
blob: a30a28b2e1c1515d122b083507febfa53f0130e7 (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


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