]>
Commit | Line | Data |
---|---|---|
354616b0 | 1 | # |
a0ff5315 | 2 | # File: Makefile.in |
354616b0 GL |
3 | # Author: Julian Smart |
4 | # Created: 1998 | |
5 | # Updated: | |
6 | # Copyright: (c) 1998 Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
a0ff5315 | 10 | # Makefile for wxsocket example (UNIX). |
354616b0 | 11 | |
48fe8374 | 12 | top_srcdir = @top_srcdir@/.. |
354616b0 GL |
13 | top_builddir = ../../.. |
14 | program_dir = utils/wxMMedia2/sample | |
a0ff5315 VS |
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 | |
354616b0 | 19 | |
a0ff5315 VS |
20 | # Clears all default suffixes |
21 | .SUFFIXES: .o .cpp .c .cxx | |
354616b0 | 22 | |
a0ff5315 VS |
23 | .cpp.o : |
24 | $(CC) -c $(CPPFLAGS) -o $@ $< | |
25 | ||
26 | # Set defaults from configure | |
27 | include ../../../src/make.env | |
28 | ||
29 | LDLIBS2 = $(LDLIBS) ../lib/libwxmmedia2.a | |
30 | ||
31 | all: test_med test_med3 test_med5 test_med2 test_med4 | |
32 | ||
33 | test_med: test_med.o ../../../lib/@WX_TARGET_LIBRARY@ | |
34 | $(CC) $(LDFLAGS) -o test_med test_med.o $(LDLIBS2) | |
35 | ||
36 | test_med2: test_med2.o ../../../lib/@WX_TARGET_LIBRARY@ | |
37 | $(CC) $(LDFLAGS) -o test_med2 test_med2.o $(LDLIBS2) | |
38 | ||
39 | test_med3: test_med3.o ../../../lib/@WX_TARGET_LIBRARY@ | |
40 | $(CC) $(LDFLAGS) -o test_med3 test_med3.o $(LDLIBS2) | |
41 | ||
42 | test_med4: test_med4.o ../../../lib/@WX_TARGET_LIBRARY@ | |
43 | $(CC) $(LDFLAGS) -o test_med4 test_med4.o $(LDLIBS2) | |
44 | ||
45 | test_med5: test_med5.o ../../../lib/@WX_TARGET_LIBRARY@ | |
46 | $(CC) $(LDFLAGS) -o test_med5 test_med5.o $(LDLIBS2) | |
47 | ||
48 | ||
49 | clean: | |
50 | rm -f test_med* core | |
354616b0 | 51 |