summaryrefslogtreecommitdiff
path: root/LibM
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-21 04:09:39 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-21 04:09:39 +0200
commit57da00b731fd060c051bb5cdff5cdf507ece81bb (patch)
tree0e64b6c2fc8e3169521a3afa76b9919212a3cd84 /LibM
parent74b94da6fa74b006c5059929443449298d490d87 (diff)
downloadserenity-57da00b731fd060c051bb5cdff5cdf507ece81bb.zip
Include Makefile.common in all other Makefiles.
Diffstat (limited to 'LibM')
-rw-r--r--LibM/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/LibM/Makefile b/LibM/Makefile
index 4257c41cbf..a6ab715693 100644
--- a/LibM/Makefile
+++ b/LibM/Makefile
@@ -1,18 +1,9 @@
+include ../Makefile.common
+
OBJS = math.o
LIBRARY = libm.a
-STANDARD_FLAGS = -std=c++17
-WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
-FLAVOR_FLAGS = -fno-exceptions -fno-rtti
-OPTIMIZATION_FLAGS = -Os
-INCLUDE_FLAGS = -I.. -I.
-
-DEFINES = -DUSERLAND -DSANITIZE_PTRS
-
-CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(FLAVOR_FLAGS) $(STANDARD_FLAGS) $(INCLUDE_FLAGS) $(DEFINES)
-CXX = i686-pc-serenity-g++
-LD = i686-pc-serenity-ld
-AR = i686-pc-serenity-ar
+DEFINES += -DUSERLAND
all: $(LIBRARY)