comparison TOOLS/netstream/Makefile @ 22640:d90e39c776b0

Simplify link command.
author diego
date Sat, 17 Mar 2007 00:28:30 +0000
parents 8dd976be3f25
children aaaedf34d589
comparison
equal deleted inserted replaced
22639:8dd976be3f25 22640:d90e39c776b0
28 28
29 ifeq ($(TARGET_WIN32),yes) 29 ifeq ($(TARGET_WIN32),yes)
30 DEPS += $(MPROOT)/osdep/glob-win.o -lwsock32 30 DEPS += $(MPROOT)/osdep/glob-win.o -lwsock32
31 endif 31 endif
32 32
33 netstream: $(MPROOT)/libmpdemux/libmpdemux.a $(MPROOT)/stream/stream.a netstream.o 33 netstream: $(DEPS)
34 34 $(CC) -o $@ netstream.o $^
35 $(CC) $(CFLAGS) netstream.o -o netstream $(DEPS)
36 35
37 clean: 36 clean:
38 rm -f *.o *.a *~ 37 rm -f *.o *.a *~
39 38
40 .PHONY: all clean 39 .PHONY: all clean