summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorGeorge Hotz <geohot@gmail.com>2011-01-10 22:09:06 -0500
committerGeorge Hotz <geohot@gmail.com>2011-01-10 22:09:06 -0500
commitda6f8b1f89de5ca894910e51adfabaddeba46440 (patch)
treefb2b3c7e7d1eebb1489da832f7c0cb874722f726 /makefile
parentbd52c79d26e51325e2250a2298fa39b251e07da5 (diff)
downloadps3publictools-da6f8b1f89de5ca894910e51adfabaddeba46440.tar.xz
a little more reasonable
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..90a4059
--- /dev/null
+++ b/makefile
@@ -0,0 +1,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