mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02: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)
|