[NUT-devel] [nut]: r546 - src/trunk/nututils/Makefile

diego subversion at mplayerhq.hu
Sat Feb 2 13:11:18 CET 2008


Author: diego
Date: Sat Feb  2 13:11:17 2008
New Revision: 546

Log:
Merge two duplicated rules into a pattern rule.


Modified:
   src/trunk/nututils/Makefile

Modified: src/trunk/nututils/Makefile
==============================================================================
--- src/trunk/nututils/Makefile	(original)
+++ src/trunk/nututils/Makefile	Sat Feb  2 13:11:17 2008
@@ -4,10 +4,7 @@ CFLAGS += -I../libnut -lm
 
 all: avireader nutmerge nutindex nutparse # oggreader
 
-avireader: demux_avi.c
-	$(CC) $(CFLAGS) -DSTANDALONE $^ -o $@
-
-oggreader: demux_ogg.c
+%reader: demux_%.c
 	$(CC) $(CFLAGS) -DSTANDALONE $^ -o $@
 
 nutmerge: demux_ogg.c demux_avi.c framer_vorbis.c framer_mp3.c framer_mpeg4.c nutmerge.c ../libnut/libnut.a # demux_nut.c



More information about the NUT-devel mailing list