4 include $(MPROOT
)/config.mak
6 INCLUDE
= -I
$(MPROOT
) -I
$(MPROOT
)/loader
$(EXTRA_INC
)
7 CFLAGS
= $(OPTFLAGS
) $(INCLUDE
)
16 $(CC
) -c
$(CFLAGS
) -o
$@
$<
19 # FIXME: linking is a mess that should be fixed properly some day
20 # it does not work with either GUI, live.com or libavformat enabled
21 DEPS
= $(MPROOT
)/libmpdemux
/libmpdemux.a \
22 $(MPROOT
)/libmpdvdkit2
/libmpdvdkit.a \
23 $(MPROOT
)/libmpcodecs
/native
/minilzo.o \
24 $(MPROOT
)/libvo
/aclib.o \
25 $(MPROOT
)/libmpcodecs
/img_format.o \
26 $(MPROOT
)/liba52
/liba52.a \
27 $(MPROOT
)/m_option.o \
28 $(MPROOT
)/m_struct.o \
29 $(MPROOT
)/subreader.o \
31 $(MPROOT
)/osdep
/shmem.o \
32 $(MPROOT
)/osdep
/timer-
*.o \
33 $(MPROOT
)/osdep
/strl.o \
44 ifeq ($(TARGET_WIN32
),yes
)
45 DEPS
+= $(MPROOT
)/osdep
/glob-win.o
$(WIN32_LIB
) -lwsock32
48 netstream
: $(MPROOT
)/libmpdemux
/libmpdemux.a netstream.o
50 $(CC
) $(CFLAGS
) netstream.o
-o netstream
$(DEPS
)
61 $(CC
) -MM
$(CFLAGS
) test.c
$(SRCS
) 1>.depend
64 # include dependency files if they exist
66 ifneq ($(wildcard .depend
),)