diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-09 13:48:11 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-09 13:48:11 +0100 |
commit | e03d341615119788037f9e50c9043a30a2449894 (patch) | |
tree | 4dda2eb0e5f24239fce738528e3a2a32872b9c31 /Editor | |
parent | 5d7ba9640c215c52fe5fe955fad18d7fe0ca293a (diff) | |
download | serenity-e03d341615119788037f9e50c9043a30a2449894.zip |
Editor: Fix build on Linux.
Diffstat (limited to 'Editor')
-rw-r--r-- | Editor/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Editor/Makefile b/Editor/Makefile index b67c24746c..78035e4189 100644 --- a/Editor/Makefile +++ b/Editor/Makefile @@ -6,15 +6,16 @@ OBJS = \ FileReader.o \ Editor.o \ main.o \ - InsertOperation.o \ - Operation.o \ - UndoStack.o + InsertOperation.o \ + Operation.o \ + UndoStack.o -CXXFLAGS = -Os -std=c++1z -W -Wall -g -I../AK -LDFLAGS = -lncurses +CXX = g++ +CXXFLAGS = -O2 -std=c++1z -W -Wall -g -I../AK +LIBS = -lncurses $(BINARY): $(OBJS) - $(CXX) $(LDFLAGS) -o $@ $(OBJS) + $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) all: $(BINARY) |