1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +00:00

Include Makefile.common in all other Makefiles.

This commit is contained in:
Andreas Kling 2019-04-21 04:09:39 +02:00
parent 74b94da6fa
commit 57da00b731
19 changed files with 60 additions and 242 deletions

View file

@ -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)