|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
- ### RtMidi library Makefile
-
- RM = /bin/rm
- LN = /bin/ln
-
- OBJECTS = RtMidi.o
-
- STATIC = librtmidi.a
- SHARED = @sharedlib@
- RELEASE = 2.0.0
- MAJOR = 1
- LIBRARIES = $(STATIC) $(SHARED)
-
- CC = @CXX@
- AR = @AR@
- RANLIB = @RANLIB@
-
- DEFS = @CPPFLAGS@
- CFLAGS = @CXXFLAGS@ -Iinclude -fPIC
-
- all : $(LIBRARIES)
-
- tests:
- cd tests && $(MAKE) all
-
- $(LIBRARIES): $(OBJECTS)
- $(AR) ruv $(STATIC) $(OBJECTS)
- ranlib $(STATIC)
- $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
- $(LN) -sf @sharedname@ $(SHARED)
-
- # $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@
-
- %.o : %.cpp
- $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
-
- %.o : include/%.cpp
- $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
-
- clean :
- $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
- $(RM) -f $(OBJECTS)
- $(RM) -f *~
- cd tests && $(MAKE) clean
-
- distclean:
- $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
- $(RM) -f $(OBJECTS)
- $(RM) -f *~
- $(RM) -rf config.log config.status autom4te.cache Makefile rtmidi-config
- cd tests && $(MAKE) distclean
-
- strip :
- strip $(LIBRARIES)
- ranlib $(LIBRARIES)
- cd tests && $(MAKE) strip
|