Mercurial > mplayer.hg
comparison Makefile @ 26512:a1dc4d5b5b40
Add alltools target and variable to build non-linking tools.
author | diego |
---|---|
date | Sat, 26 Apr 2008 09:31:05 +0000 |
parents | 31efc4586a2f |
children | 133c98f1c5a8 |
comparison
equal
deleted
inserted
replaced
26511:31efc4586a2f | 26512:a1dc4d5b5b40 |
---|---|
777 | 777 |
778 ifdef ARCH_X86 | 778 ifdef ARCH_X86 |
779 TOOLS += TOOLS/modify_reg$(EXESUF) | 779 TOOLS += TOOLS/modify_reg$(EXESUF) |
780 endif | 780 endif |
781 | 781 |
782 ALLTOOLS = $(TOOLS) \ | |
783 TOOLS/bmovl-test$(EXESUF) \ | |
784 TOOLS/vfw2menc$(EXESUF) \ | |
785 TOOLS/vivodump$(EXESUF) \ | |
786 TOOLS/netstream$(EXESUF) \ | |
787 | |
782 tools: $(TOOLS) | 788 tools: $(TOOLS) |
789 alltools: $(ALLTOOLS) | |
783 | 790 |
784 TOOLS_COMMON_LIBS = mp_msg.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) \ | 791 TOOLS_COMMON_LIBS = mp_msg.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) \ |
785 -ltermcap -lm | 792 -ltermcap -lm |
786 | 793 |
787 TOOLS/bmovl-test$(EXESUF): TOOLS/bmovl-test.c -lSDL_image | 794 TOOLS/bmovl-test$(EXESUF): TOOLS/bmovl-test.c -lSDL_image |
823 | 830 |
824 TOOLS/netstream$(EXESUF): TOOLS/netstream.o $(NETSTREAM_DEPS) | 831 TOOLS/netstream$(EXESUF): TOOLS/netstream.o $(NETSTREAM_DEPS) |
825 $(CC) $(CFLAGS) -o $@ $^ | 832 $(CC) $(CFLAGS) -o $@ $^ |
826 | 833 |
827 toolsclean: | 834 toolsclean: |
828 rm -f $(TOOLS) TOOLS/fastmem*-* TOOLS/netstream$(EXESUF) | 835 rm -f $(ALLTOOLS) TOOLS/fastmem*-* TOOLS/realcodecs/*.so.6.0 |
829 rm -f TOOLS/bmovl-test$(EXESUF) TOOLS/vfw2menc$(EXESUF) $(REAL_TARGETS) | |
830 | 836 |
831 -include $(DEPS) | 837 -include $(DEPS) |
832 | 838 |
833 .PHONY: all doxygen *install* recurse strip tools | 839 .PHONY: all doxygen *install* recurse strip tools |