mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Added routing table and routing attribute code.
This commit is contained in:
10
Rules
10
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)
|
||||
|
||||
Reference in New Issue
Block a user