1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
audacity/tests/Makefile.in

37 lines
581 B
Makefile

CC = @CC@
CXX = @CXX@
# CFLAGS are specific to C.
override CFLAGS += @CFLAGS@
# CXXFLAGS are specific to C++.
override CXXFLAGS += @CXXFLAGS@
# CPPFLAGS are for both C and C++.
override CPPFLAGS += -I../src @CPPFLAGS@
all: run_tests
check: run_tests
LIBS = @LIBS@ ../src/libaudacity.a
TESTS = \
SimpleBlockFileTest \
SequenceTest \
$(TESTS): %: %.cpp ../src/libaudacity.a
$(CXX) -o $@ $< $(CXXFLAGS) $(CPPFLAGS) $(LIBS)
run_tests: $(TESTS)
tests='$(TESTS)'; for test in $$tests ; do \
./$$test ; \
done
clean:
rm -f $(TESTS)
distclean: clean
rm -f Makefile