summaryrefslogtreecommitdiff
path: root/com32/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/Makefile')
-rw-r--r--com32/lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/Makefile b/com32/lib/Makefile
index 7806230b..dd1ef7c6 100644
--- a/com32/lib/Makefile
+++ b/com32/lib/Makefile
@@ -214,9 +214,9 @@ COM32DIR = $(AUXDIR)/com32
all: libcom32.c32 libcom32min.a libcom32core.a
-libcom32.c32 : $(LIBOBJS)
+libcom32.elf : $(LIBOBJS)
rm -f $@
- $(LD) -shared $(LDFLAGS) -soname $(@F) -o $@ $^
+ $(LD) -shared $(LDFLAGS) -soname $(patsubst %.elf,%.c32,$(@F)) -o $@ $^
libcom32min.a : $(MINLIBOBJS)
rm -f $@