[MPlayer-cvslog] r38228 - trunk/Makefile

reimar subversion at mplayerhq.hu
Fri Jan 22 00:41:44 EET 2021


Author: reimar
Date: Fri Jan 22 00:41:44 2021
New Revision: 38228

Log:
Makefile: Make use of the CC_C CC_O etc variables.

We defined them already for FFmpeg anyway, so
might as well make use of it.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Wed Jan 20 21:45:32 2021	(r38227)
+++ trunk/Makefile	Fri Jan 22 00:41:44 2021	(r38228)
@@ -719,16 +719,16 @@ GUI_ICONSIZES = 16x16 22x22 24x24 32x32
 all: $(ALL_PRG-yes)
 
 %.o: %.S
-	$(CC) $(CC_DEPFLAGS) $(CFLAGS) -c -o $@ $<
+	$(CC) $(CC_DEPFLAGS) $(CFLAGS) $(AS_C) $(AS_O) $<
 
 %.o: %.c
-	$(CC) $(CC_DEPFLAGS) $(CFLAGS) -c -o $@ $<
+	$(CC) $(CC_DEPFLAGS) $(CFLAGS) $(CC_C) $(CC_O) $<
 
 %.o: %.cpp
-	$(CC) $(CC_DEPFLAGS) $(CXXFLAGS) -c -o $@ $<
+	$(CC) $(CC_DEPFLAGS) $(CXXFLAGS) $(CXX_C) $(CXX_O) $<
 
 %.o: %.m
-	$(CC) $(CC_DEPFLAGS) $(CFLAGS) -c -o $@ $<
+	$(CC) $(CC_DEPFLAGS) $(CFLAGS) $(CC_C) $(CC_O) $<
 
 %-rc.o: %.rc
 	$(WINDRES) -I. $< -o $@


More information about the MPlayer-cvslog mailing list