[NUT-devel] [nut]: r503 - src/trunk/libnut/Makefile

diego subversion at mplayerhq.hu
Fri Jun 1 15:49:56 CEST 2007


Author: diego
Date: Fri Jun  1 15:49:55 2007
New Revision: 503

Log:
Use implicit rule for building object files.
Declare header dependencies in a more elegant fashion.


Modified:
   src/trunk/libnut/Makefile

Modified: src/trunk/libnut/Makefile
==============================================================================
--- src/trunk/libnut/Makefile	(original)
+++ src/trunk/libnut/Makefile	Fri Jun  1 15:49:55 2007
@@ -22,8 +22,7 @@ libnut.a: ${OBJS}
 libnut.so: ${OBJS}
 	${CC} ${CFLAGS} -shared $^ -o $@
 
-.c.o: priv.h libnut.h
-	${CC} ${CFLAGS} $^ -c -o $@
+*.o: priv.h libnut.h
 
 clean:
 	rm -f *\~ libnut.so libnut.a *.o



More information about the NUT-devel mailing list