mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
26 lines
372 B
Makefile
26 lines
372 B
Makefile
BINARY = cuki
|
|
|
|
OBJS = \
|
|
Document.o \
|
|
Line.o \
|
|
FileReader.o \
|
|
Editor.o \
|
|
main.o \
|
|
InsertOperation.o \
|
|
Operation.o \
|
|
UndoStack.o
|
|
|
|
CXX = g++
|
|
CXXFLAGS = -O2 -std=c++1z -W -Wall -g -I../AK
|
|
LIBS = -lncurses
|
|
|
|
$(BINARY): $(OBJS)
|
|
$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
|
|
all: $(BINARY)
|
|
|
|
clean:
|
|
rm -f $(BINARY) $(OBJS)
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CXXFLAGS) -c $< -o $@
|