summaryrefslogtreecommitdiff
path: root/AK/Tests
diff options
context:
space:
mode:
authorjoshua stein <jcs@jcs.org>2019-12-18 17:35:46 -0600
committerAndreas Kling <awesomekling@gmail.com>2019-12-20 20:20:54 +0100
commitac25438d54252d70de0002e4cca04ac258967c47 (patch)
tree61b97be561fbb395b8aa3f84135ba7400dfb38e5 /AK/Tests
parentf4b2b72c8efc0f6d018b199a8cc95091e7cf4c3e (diff)
downloadserenity-ac25438d54252d70de0002e4cca04ac258967c47.zip
Build: clean up build system, use one shared Makefile
Allow everything to be built from the top level directory with just 'make', cleaned with 'make clean', and installed with 'make install'. Also support these in any particular subdirectory. Specifying 'make VERBOSE=1' will print each ld/g++/etc. command as it runs. Kernel and early host tools (IPCCompiler, etc.) are built as object.host.o so that they don't conflict with other things built with the cross-compiler.
Diffstat (limited to 'AK/Tests')
-rw-r--r--AK/Tests/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/AK/Tests/Makefile b/AK/Tests/Makefile
index f8b74f3bfc..bd8ec67b83 100644
--- a/AK/Tests/Makefile
+++ b/AK/Tests/Makefile
@@ -1,4 +1,20 @@
-PROGRAMS = TestBinarySearch TestAtomic TestString TestQueue TestVector TestHashMap TestJSON TestWeakPtr TestNonnullRefPtr TestRefPtr TestFixedArray TestFileSystemPath TestURL TestStringView TestUtf8 TestCircularQueue
+PROGRAMS = \
+ TestBinarySearch \
+ TestAtomic \
+ TestString \
+ TestQueue \
+ TestVector \
+ TestHashMap \
+ TestJSON \
+ TestWeakPtr \
+ TestNonnullRefPtr \
+ TestRefPtr \
+ TestFixedArray \
+ TestFileSystemPath \
+ TestURL \
+ TestStringView \
+ TestUtf8 \
+ TestCircularQueue
CXXFLAGS = -std=c++17 -Wall -Wextra -ggdb3 -O2 -I../ -I../../