mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-12 17:43:37 +02:00
Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches
This commit is contained in:
36
tests/Makefile.in
Normal file
36
tests/Makefile.in
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user