Many updates for release 4.0.7 (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
6 OBJECTS = RtAudio.o @objects@
7
8 STATIC = librtaudio.a
9 SHARED = librtaudio.so
10 LIBRARIES = $(STATIC) $(SHARED)
11
12 CC       = @CXX@
13 AR       = @AR@
14 RANLIB   = @RANLIB@
15
16 DEFS     = @CPPFLAGS@
17 CFLAGS   = @CXXFLAGS@ -Iinclude -fPIC
18
19 all : $(LIBRARIES)
20
21 tests:
22         cd tests && $(MAKE) all
23
24 $(LIBRARIES): $(OBJECTS)
25         $(AR) ruv $(STATIC) $(OBJECTS)
26         ranlib $(STATIC)
27         $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@
28
29 %.o : %.cpp
30         $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
31
32 %.o : include/%.cpp
33         $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
34
35 clean : 
36         $(RM) -f $(LIBRARIES)
37         $(RM) -f $(OBJECTS)
38         $(RM) -f *~
39         cd tests && $(MAKE) clean
40
41 distclean: clean
42         $(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config
43         cd tests && $(MAKE) distclean
44
45 strip : 
46         strip $(LIBRARIES)
47         ranlib $(LIBRARIES)
48         cd tests && $(MAKE) strip