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

diego subversion at mplayerhq.hu
Fri Feb 1 20:45:44 CET 2008


Author: diego
Date: Fri Feb  1 20:45:42 2008
New Revision: 543

Log:
Refactor similar rules into pattern rule.


Modified:
   src/trunk/nututils/Makefile

Modified: src/trunk/nututils/Makefile
==============================================================================
--- src/trunk/nututils/Makefile	(original)
+++ src/trunk/nututils/Makefile	Fri Feb  1 20:45:42 2008
@@ -13,10 +13,7 @@ oggreader: demux_ogg.c
 nutmerge: demux_ogg.c demux_avi.c framer_vorbis.c framer_mp3.c framer_mpeg4.c nutmerge.c ../libnut/libnut.a # demux_nut.c
 	$(CC) $(CFLAGS) $^ -o $@
 
-nutindex: nutindex.c
-	$(CC) $(CFLAGS) $^ -o $@
-
-nutparse: nutparse.c
+%: %.c
 	$(CC) $(CFLAGS) $^ -o $@
 
 avireader nutindex nutmerge nutparse oggreader: nutmerge.h



More information about the NUT-devel mailing list