summaryrefslogtreecommitdiffstats
path: root/mpcommon.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mpcommon.mak')
-rw-r--r--mpcommon.mak8
1 files changed, 7 insertions, 1 deletions
diff --git a/mpcommon.mak b/mpcommon.mak
index 510ba23200..e8abcee2c3 100644
--- a/mpcommon.mak
+++ b/mpcommon.mak
@@ -10,12 +10,18 @@ CFLAGS += -I. -I.. $(OPTFLAGS)
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
-all: $(LIBNAME)
+LIBS = $(LIBNAME) $(LIBNAME2)
+
+all: $(LIBS)
$(LIBNAME): $(OBJS)
$(AR) r $@ $^
$(RANLIB) $@
+$(LIBNAME2): $(OBJS2)
+ $(AR) r $@ $^
+ $(RANLIB) $@
+
clean::
rm -f *.o *.a *~