summaryrefslogtreecommitdiffstats
path: root/libiptc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libiptc/Makefile')
-rw-r--r--libiptc/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/libiptc/Makefile b/libiptc/Makefile
new file mode 100644
index 0000000..e1bc7be
--- /dev/null
+++ b/libiptc/Makefile
@@ -0,0 +1,16 @@
+#! /usr/bin/make
+
+EXTRAS+=libiptc/libiptc.a
+
+ifndef TOPLEVEL_INCLUDED
+local:
+ cd .. && $(MAKE) $(KERN_TARGETS) $(SHARED_LIBS) $(EXTRAS)
+
+else
+EXTRA_DEPENDS+=libiptc/libiptc.d
+
+libiptc/libiptc.a: libiptc/libiptc.a(libiptc/libiptc.o)
+
+libiptc/libiptc.d: %.d: %.c
+ @-$(CC) -M -MG $(CFLAGS) $< | sed -e 's@^.*\.o:@$*.d $*.a:@' > $@
+endif