[MPlayer-cvslog] r21974 - trunk/Makefile

diego subversion at mplayerhq.hu
Sat Jan 20 22:39:21 CET 2007


Author: diego
Date: Sat Jan 20 22:39:21 2007
New Revision: 21974

Modified:
   trunk/Makefile

Log:
some simplifications


Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Sat Jan 20 22:39:21 2007
@@ -239,7 +239,7 @@
 	$(CC) -o $@ $^ $(LDFLAGS_MENCODER)
 
 codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
-	$(HOST_CC) -I. -DCODECS2HTML codec-cfg.c -o $@
+	$(HOST_CC) -I. -DCODECS2HTML $< -o $@
 
 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
 	./codec-cfg$(EXESUF) ./etc/codecs.conf > $@
@@ -247,7 +247,7 @@
 codec-cfg.o: codecs.conf.h
 
 codecs2html$(EXESUF): mp_msg.o
-	$(CC) -DCODECS2HTML codec-cfg.c mp_msg.o -o $@
+	$(CC) -DCODECS2HTML codec-cfg.c $^ -o $@
 
 install: $(ALL_PRG)
 ifeq ($(VIDIX),yes)
@@ -258,9 +258,6 @@
 	$(INSTALL) -d $(BINDIR)
 	$(INSTALL) -m 755 $(INSTALLSTRIP) mplayer$(EXESUF) \
 		$(BINDIR)/mplayer$(EXESUF)
-ifeq ($(GUI),yes)
-	-ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
-endif
 	$(INSTALL) -d $(MANDIR)/man1
 	for i in $(MAN_LANG); do \
 		if test "$$i" = en ; then \
@@ -284,6 +281,7 @@
 	@$(INSTALL) -d $(DATADIR)
 	@$(INSTALL) -d $(DATADIR)/font
 ifeq ($(GUI),yes)
+	-ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
 	@$(INSTALL) -d $(DATADIR)/skins
 	@echo "*** Download skin(s) at http://www.mplayerhq.hu/dload.html"
 	@echo "*** for GUI, and extract to $(DATADIR)/skins/"



More information about the MPlayer-cvslog mailing list