Skip to content
Permalink
d87517a20c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (18 sloc) 648 Bytes
CC=g++
CFLAGS=-std=c++14 -g -Wall -I.
DEPS=*.h
OBJS=EditorMain.o ECTextViewImp.o EditorObserver.o CommandHistory.o \
EditorCommands.o EditorDataController.o EditorTextViewCont.o \
Document.o DocumentPage.o DocumentParagraph.o DocumentRow.o \
FormatterInterface.o VerbatimFormatter.o DocumentFormatter.o
TESTOBJS=EditorTest.o EditorDataControllerTest.o DocumentRowTest.o \
DocumentParagraphTest.o DocumentPageTest.o Test.o \
DocumentTest.o DocumentFormatterTest.o RandomTests.o \
VerbatimFormatterTest.o
all: Editor
%.o : %.c $(DEPS)
$(CC) $(CFLAGS) -c -o %@ %<
Editor: $(OBJS) $(TESTOBJS)
$(CC) $(CFLAGS) $^ -o $@
clean:
rm *.o Editor