Various configure and Makefile changes for MinGW (gps).
[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
7
8 LIBRARY  = librtaudio.a
9
10 CC       = @CXX@
11 AR       = @AR@
12 RANLIB   = @RANLIB@
13
14 DEFS     = @debug@
15 DEFS    += @audio_apis@
16 CFLAGS   = @cflags@
17 CFLAGS  += @warn@
18
19 all : $(LIBRARY)
20
21 tests:
22         cd tests && $(MAKE) all
23
24 $(LIBRARY): $(OBJECTS)
25         $(AR) ruv $(LIBRARY) $(OBJECTS)
26         ranlib $(LIBRARY)
27
28 %.o : %.cpp
29         $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
30
31 clean : 
32         -rm -f $(LIBRARY)
33         -rm -f $(OBJECTS)
34         -rm -f *~
35         cd tests && $(MAKE) clean
36
37 distclean: clean
38         -rm -rf config.log autom4te.cache Makefile rtaudio-config
39         cd tests && $(MAKE) distclean
40
41 strip : 
42         strip $(LIBRARY)
43         ranlib $(LIBRARY)
44         cd tests && $(MAKE) strip