Mercurial > mplayer.hg
comparison TOOLS/netstream/Makefile @ 9856:08496327b7ec
A simple netstream server.
author | albeu |
---|---|
date | Sun, 06 Apr 2003 16:39:16 +0000 |
parents | |
children | d051cf39331e |
comparison
equal
deleted
inserted
replaced
9855:15fe3fba5b1d | 9856:08496327b7ec |
---|---|
1 | |
2 MPROOT=../.. | |
3 | |
4 include $(MPROOT)/config.mak | |
5 | |
6 INCLUDE = -I$(MPROOT) -I$(MPROOT)/loader $(EXTRA_INC) | |
7 CFLAGS = $(OPTFLAGS) $(INCLUDE) | |
8 | |
9 .SUFFIXES: .c .cpp .o | |
10 | |
11 # .PHONY: all clean | |
12 | |
13 all: netstream | |
14 | |
15 .c.o: | |
16 $(CC) -c $(CFLAGS) -o $@ $< | |
17 | |
18 | |
19 netstream: $(MPROOT)/libmpdemux/libmpdemux.a netstream.o | |
20 $(CC) $(CFLAGS) -g netstream.o $(MPROOT)/mp_msg.c $(MPROOT)/osdep/shmem.c -o netstream $(MPROOT)/libmpdemux/libmpdemux.a $(MPROOT)/libmpdvdkit2/libmpdvdkit.a $(MPROOT)/libvo/aclib.o $(MPROOT)/libmpcodecs/img_format.o $(MPROOT)/libao2/afmt.o $(MPROOT)/sub_cc.o $(MPROOT)/m_option.o $(MPROOT)/m_struct.o $(MPROOT)/subreader.o $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread | |
21 | |
22 clean: | |
23 rm -f *.o *.a *~ | |
24 | |
25 distclean: | |
26 rm -f test Makefile.bak *.o *.a *~ .depend | |
27 | |
28 dep: depend | |
29 | |
30 depend: | |
31 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend | |
32 | |
33 # | |
34 # include dependency files if they exist | |
35 # | |
36 ifneq ($(wildcard .depend),) | |
37 include .depend | |
38 endif |