summaryrefslogtreecommitdiffstats
path: root/Rules
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-05-20 13:54:33 +0200
committerMartin Mares <mj@ucw.cz>1998-05-20 13:54:33 +0200
commit2326b001d6f28e69b88c3c19795d8c0999f07db1 (patch)
treeec18cb858431ebd1953136b3e8c3de7d84c501ae /Rules
parent3994080eb1a86f085498bee1f36cbdb52b30191d (diff)
downloadbird-2326b001d6f28e69b88c3c19795d8c0999f07db1.tar
bird-2326b001d6f28e69b88c3c19795d8c0999f07db1.zip
Added routing table and routing attribute code.
Diffstat (limited to 'Rules')
-rw-r--r--Rules10
1 files changed, 8 insertions, 2 deletions
diff --git a/Rules b/Rules
index 2d9c0a8..d038f80 100644
--- a/Rules
+++ b/Rules
@@ -9,11 +9,17 @@ ifndef SRCS
SRCS=$(subst .o,.c,$(OBJS))
endif
+.PHONY: all this dep
+
+all:
+ @echo "Please run the top-level Makefile instead."
+ @exit 1
+
ifdef OBJS
ifdef LIB
-all: $(LIB)
+this: $(LIB)
$(LIB): $(OBJS)
rm -f $(LIB)
@@ -22,7 +28,7 @@ $(LIB): $(OBJS)
else
-all: $(ONAME)
+this: $(ONAME)
$(ONAME): $(OBJS)
$(LD) -r -o $(ONAME) $(OBJS)