From: Jay Freeman (saurik) <saurik@saurik.com>
Date: Thu, 22 Oct 2009 21:09:31 +0000 (+0000)
Subject: Forgot the new .mk files in previous commit.
X-Git-Tag: v0.9.432~275
X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/8c6f738b86ccbf16cbebbdf287ed1d233f4e7fe9?ds=inline

Forgot the new .mk files in previous commit.
---

diff --git a/GNUstep.mk b/GNUstep.mk
new file mode 100644
index 0000000..a1ee86f
--- /dev/null
+++ b/GNUstep.mk
@@ -0,0 +1,3 @@
+flags += $(shell gnustep-config --objc-flags)
+link += $(shell gnustep-config --base-libs)
+include ObjectiveC.mk
diff --git a/ObjectiveC.mk b/ObjectiveC.mk
new file mode 100644
index 0000000..729b131
--- /dev/null
+++ b/ObjectiveC.mk
@@ -0,0 +1,6 @@
+filters += ObjectiveC
+header += Struct.hpp ObjectiveC.hpp
+code += ObjectiveC.o Library.o
+
+Struct.hpp:
+	$$($(target)gcc -print-prog-name=cc1obj) -print-objc-runtime-info </dev/null >$@