blob: 9e9b6255d15a210223e17e723bb4cf1d9d0fe9f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# -*- makefile -*-
INCLUDES = -I$(top_srcdir)/include -DBOOTSTRAP
CFLAGS = -fPIC
%.so: %.o
$(CC) -shared $(CFLAGS) $(filter %.o,$^) -o $@
THISDIR := $(notdir $(shell pwd))
all-local: $(addprefix $(ODIR)/../,$(PLUGINS))
$(ODIR)/../%.so: $(ODIR)/%.so
install -d ../$(ODIR)
ln -f "../$(THISDIR)"/$< $@
|