6 # Copyright: (c) 1998 Julian Smart
10 # Makefile for wxsocket example (UNIX).
12 top_srcdir = @top_srcdir@
13 top_builddir = ../../..
14 program_dir = utils/wxMMedia2/sample
15 # the comment at the end of the next line is needed because otherwise autoconf
16 # would remove this line completely - it contains a built-in hack to remove
17 # any VPATH assignment not containing ':'
18 VPATH = @PATH_IFS@$(top_srcdir)/utils/wxMMedia2/sample # ':' for autoconf
20 # Clears all default suffixes
21 .SUFFIXES: .o .cpp .c .cxx
24 $(CC) -c $(CPPFLAGS) -o $@ $<
26 # Set defaults from configure
27 include ../../../src/make.env
29 LDLIBS2 = $(LDLIBS) ../lib/libwxmmedia2.a
31 all: test_med test_med3 test_med5 test_med2 test_med4
33 test_med: test_med.o ../../../lib/@WX_TARGET_LIBRARY@
34 $(CC) $(LDFLAGS) -o test_med test_med.o $(LDLIBS2)
36 test_med2: test_med2.o ../../../lib/@WX_TARGET_LIBRARY@
37 $(CC) $(LDFLAGS) -o test_med2 test_med2.o $(LDLIBS2)
39 test_med3: test_med3.o ../../../lib/@WX_TARGET_LIBRARY@
40 $(CC) $(LDFLAGS) -o test_med3 test_med3.o $(LDLIBS2)
42 test_med4: test_med4.o ../../../lib/@WX_TARGET_LIBRARY@
43 $(CC) $(LDFLAGS) -o test_med4 test_med4.o $(LDLIBS2)
45 test_med5: test_med5.o ../../../lib/@WX_TARGET_LIBRARY@
46 $(CC) $(LDFLAGS) -o test_med5 test_med5.o $(LDLIBS2)