mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-03 23:53:55 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			819 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			819 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
### PortMixer library Makefile
 | 
						|
 | 
						|
OBJECTS	= @objects@
 | 
						|
 | 
						|
LIBRARY  = libportmixer.a
 | 
						|
 | 
						|
CC       = @CC@
 | 
						|
AR       = @AR@
 | 
						|
RANLIB   = @RANLIB@
 | 
						|
 | 
						|
DEFS    += @DEFS@
 | 
						|
CFLAGS  += @CFLAGS@
 | 
						|
CFLAGS  += @cflags@
 | 
						|
CFLAGS  += @include@
 | 
						|
 | 
						|
CPPFLAGS = @CPPFLAGS@
 | 
						|
 | 
						|
all : $(LIBRARY)
 | 
						|
 | 
						|
tests:
 | 
						|
	cd tests && $(MAKE) all
 | 
						|
 | 
						|
$(LIBRARY): $(OBJECTS)
 | 
						|
	$(AR) ruv $(LIBRARY) $(OBJECTS)
 | 
						|
	$(RANLIB) $(LIBRARY)
 | 
						|
 | 
						|
%.o : src/%.c
 | 
						|
	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $(<) -o $@
 | 
						|
 | 
						|
clean : 
 | 
						|
	-rm -f $(LIBRARY)
 | 
						|
	-rm -f $(OBJECTS)
 | 
						|
 | 
						|
distclean: clean
 | 
						|
	-$(RM) -rf config.log config.status autom4te.cache Makefile portmixer-v2
 | 
						|
 | 
						|
dist:
 | 
						|
	rm -rf portmixer-v2
 | 
						|
	mkdir portmixer-v2
 | 
						|
	cp -pr include src LICENSE.txt README.txt portaudio.patch Makefile.in configure.ac configure portmixer-v2
 | 
						|
	tar -zcf ../portmixer-v2.tar.gz portmixer-v2
 | 
						|
 | 
						|
strip : 
 | 
						|
	strip $(LIBRARY)
 | 
						|
	ranlib $(LIBRARY)
 |