summaryrefslogtreecommitdiffstats
path: root/mpcommon.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mpcommon.mak')
-rw-r--r--mpcommon.mak7
1 files changed, 2 insertions, 5 deletions
diff --git a/mpcommon.mak b/mpcommon.mak
index 72a3f3de11..ed66d463a3 100644
--- a/mpcommon.mak
+++ b/mpcommon.mak
@@ -2,11 +2,8 @@ SRCS += $(SRCS-yes)
SRCS2 += $(SRCS2-yes)
LIBAV_INC += $(LIBAV_INC-yes)
-OBJS = $(SRCS:.c=.o)
-OBJS := $(OBJS:.S=.o)
-OBJS := $(OBJS:.cpp=.o)
-OBJS := $(OBJS:.m=.o)
-OBJS2 = $(SRCS2:.c=.o)
+OBJS = $(addsuffix .o, $(basename $(SRCS)) )
+OBJS2 = $(addsuffix .o, $(basename $(SRCS2)) )
CFLAGS += -I. -I.. $(OPTFLAGS)