Fix for compile bug in Windows DS and library configure in linux (GS).
[rtaudio-cdist.git] / Makefile.in
1 ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
2 ### RtAudio library Makefile
3
4 RM = /bin/rm
5 LN = /bin/ln
6
7 OBJECTS = RtAudio.o @objects@
8
9 STATIC = librtaudio.a
10 SHARED = @sharedlib@
11 RELEASE = 4.0.9
12 MAJOR = 4
13 LIBRARIES = $(STATIC) $(SHARED)
14
15 CC       = @CXX@
16 AR       = @AR@
17 RANLIB   = @RANLIB@
18
19 DEFS     = @CPPFLAGS@
20 CFLAGS   = @CXXFLAGS@ -Iinclude -fPIC
21
22 all : $(LIBRARIES)
23
24 tests:
25         cd tests && $(MAKE) all
26
27 $(LIBRARIES): $(OBJECTS)
28         $(AR) ruv $(STATIC) $(OBJECTS)
29         ranlib $(STATIC)
30         $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
31         $(LN) -s @sharedname@ $(SHARED)
32
33 #       $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@
34
35 %.o : %.cpp
36         $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
37
38 %.o : include/%.cpp
39         $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
40
41 clean : 
42         $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
43         $(RM) -f $(OBJECTS)
44         $(RM) -f *~
45         cd tests && $(MAKE) clean
46
47 distclean:
48         $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
49         $(RM) -f $(OBJECTS)
50         $(RM) -f *~
51         $(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config
52         cd tests && $(MAKE) distclean
53
54 strip : 
55         strip $(LIBRARIES)
56         ranlib $(LIBRARIES)
57         cd tests && $(MAKE) strip