summaryrefslogtreecommitdiff
path: root/sysinfo/os/darwin.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysinfo/os/darwin.mk')
-rw-r--r--sysinfo/os/darwin.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysinfo/os/darwin.mk b/sysinfo/os/darwin.mk
new file mode 100644
index 0000000..f16b1f1
--- /dev/null
+++ b/sysinfo/os/darwin.mk
@@ -0,0 +1,12 @@
+OS = darwin
+OS_APP_PREFIX =
+OS_APP_SUFFIX =
+OS_LIB_PREFIX = lib
+OS_LIB_SUFFIX = .dylib
+OS_IMPLIB_EXT = .invalid
+OS_LIBDEF_EXT = .invalid
+OS_ARCHIVE_EXT = .a
+
+CFLAGS_OS += -D_DARWIN_C_SOURCE
+
+.PHONY: $(SHARED_IMPLIB)