summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2007-08-07 14:52:05 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:19:40 +0200
commitb0080e69d64ce69e21c8ce1b22b1bb7f888f1e58 (patch)
treeb51ebcd31a5280b4f4e9e45484f07d9b35723743 /Makefile.in
parent0fbcd74a04713a4725d2f346a493121b623d60ab (diff)
Check in of new version 4.0.0 distribution (GS).
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 0000000..f658377
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,43 @@
+### RtAudio library Makefile
+
+RM = /bin/rm
+
+OBJECTS = RtAudio.o
+
+LIBRARY = librtaudio.a
+
+CC = @CXX@
+AR = @AR@
+RANLIB = @RANLIB@
+
+DEFS = @debug@
+DEFS += @audio_apis@
+CFLAGS = @cflags@
+CFLAGS += @warn@
+
+all : $(LIBRARY)
+
+tests:
+ cd tests && $(MAKE) all
+
+$(LIBRARY): $(OBJECTS)
+ $(AR) ruv $(LIBRARY) $(OBJECTS)
+ ranlib $(LIBRARY)
+
+%.o : %.cpp
+ $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
+
+clean :
+ -rm -f $(LIBRARY)
+ -rm -f $(OBJECTS)
+ -rm -f *~
+ cd tests && $(MAKE) clean
+
+distclean: clean
+ -rm -rf config.log autom4te.cache Makefile rtaudio-config
+ cd tests && $(MAKE) distclean
+
+strip :
+ strip $(LIBRARY)
+ ranlib $(LIBRARY)
+ cd tests && $(MAKE) strip