1
0
Fork 0
qemu/roms/openbios/arch/unix/plugins/Rules.plugin
Daniel Baumann ea34ddeea6
Adding upstream version 1:10.0.2+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:27:05 +02:00

15 lines
313 B
Makefile

# -*- 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)"/$< $@