Editor: Fix build on Linux.

This commit is contained in:
Andreas Kling 2018-12-09 13:48:11 +01:00
parent 5d7ba9640c
commit e03d341615
Notes: sideshowbarker 2024-07-19 16:08:08 +09:00

View file

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