aboutsummaryrefslogtreecommitdiffhomepage
path: root/cbits/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cbits/Makefile')
-rw-r--r--cbits/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/cbits/Makefile b/cbits/Makefile
new file mode 100644
index 0000000..e23cd2f
--- /dev/null
+++ b/cbits/Makefile
@@ -0,0 +1,12 @@
+TOP = ../..
+include $(TOP)/mk/boilerplate.mk
+
+HC = $(GHC_INPLACE)
+
+SRC_CC_OPTS += -Wall
+SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR) -I../include
+
+LIBRARY = libHSunix_cbits.a
+LIBOBJS = $(C_OBJS)
+
+include $(TOP)/mk/target.mk