summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-04-22 12:58:34 +0000
committerMartin Mares <mj@ucw.cz>1998-04-22 12:58:34 +0000
commit58ef912c6babf1866193ab04674a5866dd761f13 (patch)
tree244af1a4acb9feac08b45800587a06653a6ff264 /Rules
parentb60f7489148d021cb541414b8788f795ec4378fa (diff)
First look at data structures. More to come tomorrow...
Diffstat (limited to 'Rules')
-rw-r--r--Rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/Rules b/Rules
new file mode 100644
index 00000000..f6baacdb
--- /dev/null
+++ b/Rules
@@ -0,0 +1,12 @@
+# Makefile for the BIRD Internet Routing Daemon
+# (c) 1998 Martin Mares <mj@ucw.cz>
+
+THISDIR=$(shell pwd)
+RELDIR=$(subst $(TOPDIR)/,,$(THISDIR))
+ANAME=$(subst /,_,$(RELDIR)).a
+
+all: $(ANAME)
+
+$(ANAME): $(OBJS)
+ rm -f $(ANAME)
+ ar rcs $(ANAME) $(OBJS)