74 lines
2.3 KiB
Makefile
74 lines
2.3 KiB
Makefile
PROJECT = t2.t tdb.t date.t duration.t t.benchmark.t text.t autocomplete.t \
|
|
config.t seq.t att.t stringtable.t record.t nibbler.t subst.t filt.t \
|
|
cmd.t
|
|
CFLAGS = -I. -I.. -Wall -pedantic -ggdb3 -fno-rtti
|
|
LFLAGS = -L/usr/local/lib -lncurses
|
|
OBJECTS = ../TDB2.o ../T.o ../Task.o ../valid.o ../text.o ../Date.o ../Table.o \
|
|
../Duration.o ../util.o ../Config.o ../Sequence.o ../Att.o ../Cmd.o \
|
|
../Record.o ../StringTable.o ../Subst.o ../Nibbler.o ../Location.o \
|
|
../Filter.o ../Context.o ../Keymap.o ../command.o ../interactive.o \
|
|
../report.o ../Grid.o ../color.o ../rules.o ../recur.o ../custom.o
|
|
|
|
all: $(PROJECT)
|
|
|
|
install: $(PROJECT)
|
|
@echo unimplemented
|
|
|
|
test: $(PROJECT)
|
|
@echo unimplemented
|
|
|
|
clean:
|
|
-rm *.o $(PROJECT)
|
|
|
|
.cpp.o:
|
|
g++ -c $(CFLAGS) $<
|
|
|
|
t2.t: t2.t.o $(OBJECTS) test.o
|
|
g++ t2.t.o $(OBJECTS) test.o $(LFLAGS) -o t2.t
|
|
|
|
tdb.t: tdb.t.o $(OBJECTS) test.o
|
|
g++ tdb.t.o $(OBJECTS) test.o $(LFLAGS) -o tdb.t
|
|
|
|
date.t: date.t.o $(OBJECTS) test.o
|
|
g++ date.t.o $(OBJECTS) test.o $(LFLAGS) -o date.t
|
|
|
|
duration.t: duration.t.o $(OBJECTS) test.o
|
|
g++ duration.t.o $(OBJECTS) test.o $(LFLAGS) -o duration.t
|
|
|
|
t.benchmark.t: t.benchmark.t.o $(OBJECTS) test.o
|
|
g++ t.benchmark.t.o $(OBJECTS) test.o $(LFLAGS) -o t.benchmark.t
|
|
|
|
text.t: text.t.o $(OBJECTS) test.o
|
|
g++ text.t.o $(OBJECTS) test.o $(LFLAGS) -o text.t
|
|
|
|
autocomplete.t: autocomplete.t.o $(OBJECTS) test.o
|
|
g++ autocomplete.t.o $(OBJECTS) test.o $(LFLAGS) -o autocomplete.t
|
|
|
|
seq.t: seq.t.o $(OBJECTS) test.o
|
|
g++ seq.t.o $(OBJECTS) test.o $(LFLAGS) -o seq.t
|
|
|
|
record.t: record.t.o $(OBJECTS) test.o
|
|
g++ record.t.o $(OBJECTS) test.o $(LFLAGS) -o record.t
|
|
|
|
att.t: att.t.o $(OBJECTS) test.o
|
|
g++ att.t.o $(OBJECTS) test.o $(LFLAGS) -o att.t
|
|
|
|
stringtable.t: stringtable.t.o $(OBJECTS) test.o
|
|
g++ stringtable.t.o $(OBJECTS) test.o $(LFLAGS) -o stringtable.t
|
|
|
|
subst.t: subst.t.o $(OBJECTS) test.o
|
|
g++ subst.t.o $(OBJECTS) test.o $(LFLAGS) -o subst.t
|
|
|
|
nibbler.t: nibbler.t.o $(OBJECTS) test.o
|
|
g++ nibbler.t.o $(OBJECTS) test.o $(LFLAGS) -o nibbler.t
|
|
|
|
filt.t: filt.t.o $(OBJECTS) test.o
|
|
g++ filt.t.o $(OBJECTS) test.o $(LFLAGS) -o filt.t
|
|
|
|
cmd.t: cmd.t.o $(OBJECTS) test.o
|
|
g++ cmd.t.o $(OBJECTS) test.o $(LFLAGS) -o cmd.t
|
|
|
|
config.t: config.t.o $(OBJECTS) test.o
|
|
g++ config.t.o $(OBJECTS) test.o $(LFLAGS) -o config.t
|
|
|