[NUT-devel] [nut]: r562 - src/trunk/Makefile
diego
subversion at mplayerhq.hu
Sat Feb 2 14:28:49 CET 2008
Author: diego
Date: Sat Feb 2 14:28:48 2008
New Revision: 562
Log:
Add NUTUTILS_PROGS variable for the nututils tools.
Modified:
src/trunk/Makefile
Modified: src/trunk/Makefile
==============================================================================
--- src/trunk/Makefile (original)
+++ src/trunk/Makefile Sat Feb 2 14:28:48 2008
@@ -1,15 +1,16 @@
include config.mak
+NUTUTILS_PROGS = nututils/nutmerge nututils/nutindex nututils/nutparse
all: libnut nututils
libnut:
$(MAKE) -C libnut
-nututils: libnut nututils/nutmerge nututils/nutindex nututils/nutparse
+nututils: libnut $(NUTUTILS_PROGS)
nututils/nutmerge: nututils/demux_avi.c nututils/demux_ogg.c nututils/framer_mp3.c nututils/framer_mpeg4.c nututils/framer_vorbis.c nututils/nutmerge.h libnut/libnut.a # nututils/demux_nut.c
-nututils/nutmerge nututils/nutindex nututils/nutparse: CFLAGS += -Ilibnut
+$(NUTUTILS_PROGS): CFLAGS += -Ilibnut
install:
install -d $(prefix)/lib
@@ -23,6 +24,6 @@ uninstall:
clean distclean:
rm -f libnut/*\~ libnut/*.o libnut/libnut.so libnut/libnut.a
- rm -f nututils/*\~ nututils/*.o nututils/nutmerge nututils/nutindex nututils/nutparse
+ rm -f nututils/*\~ nututils/*.o $(NUTUTILS_PROGS)
.PHONY: all libnut nututils install uninstall clean distclean
More information about the NUT-devel
mailing list