summaryrefslogtreecommitdiffstats
path: root/makefile
blob: 90a40594d3e6e3b02bdfce2115f8a5f34e78a9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
linux: make_self.c package_finalize.c
	gcc make_self.c -lgmp -lcrypto -lz -o build/make_self_npdrm
	gcc package_finalize.c -lcrypto -o build/package_finalize

windows: make_self.c package_finalize.c
	gcc make_self.c -I"C:\Program Files (x86)\GnuWin32\include" -L"C:\OpenSSL-Win32\lib\MinGW" -lgmp -leay32 "C:\Program Files (x86)\GnuWin32\bin\zlib1.dll" -o build/make_self_npdrm.exe
	gcc package_finalize.c -L"C:\OpenSSL-Win32\lib\MinGW" -leay32 -o build/package_finalize.exe
	
osx:
	gcc make_self.c  -I/opt/local/include -I/opt/local -L/opt/local/lib -lgmp -lcrypto -lz -o build/make_self_npdrm
	gcc package_finalize.c  -I/opt/local/include -I/opt/local -L/opt/local/lib -lcrypto -o build/package_finalize