Various updates for pulseaudio API and default ALSA device enumeration (gs).
[rtaudio-cdist.git] / Makefile.in
index c2cdcb1ac458a7a0ea1be5446f53aae77287f6aa..af5c9573f8657c75e35e77e64045322c40383a56 100644 (file)
@@ -28,9 +28,8 @@ $(LIBRARIES): $(OBJECTS)
        $(AR) ruv $(STATIC) $(OBJECTS)
        ranlib $(STATIC)
        $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
-       $(LN) -s @sharedname@ $(SHARED)
-
-#      $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@
+       $(LN) -sf @sharedname@ $(SHARED)
+       $(LN) -sf @sharedname@ $(SHARED).$(MAJOR)
 
 %.o : %.cpp
        $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
@@ -48,7 +47,7 @@ distclean:
        $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
        $(RM) -f $(OBJECTS)
        $(RM) -f *~
-       $(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config
+       $(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config librtaudio.pc
        cd tests && $(MAKE) distclean
 
 strip :