summaryrefslogtreecommitdiffstats
path: root/Rules
blob: f6baacdbdd15cfcc57954d57e5e3837fb2b59a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
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)