mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
- Corrected bogus .gitignore entry that blocked src/tests/Makefile.
This commit is contained in:
parent
3525b6db2c
commit
c393d47cdf
2 changed files with 29 additions and 1 deletions
2
src/.gitignore
vendored
2
src/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
||||||
Makefile
|
./Makefile
|
||||||
*.o
|
*.o
|
||||||
|
|
28
src/tests/Makefile
Normal file
28
src/tests/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
PROJECT = t.t tdb.t date.t
|
||||||
|
CFLAGS = -I. -I.. -Wall -pedantic -ggdb3 -fno-rtti
|
||||||
|
LFLAGS = -L/usr/local/lib
|
||||||
|
OBJECTS = ../TDB.o ../T.o ../parse.o ../text.o ../Date.o ../util.o ../Config.o
|
||||||
|
|
||||||
|
all: $(PROJECT)
|
||||||
|
|
||||||
|
install: $(PROJECT)
|
||||||
|
@echo unimplemented
|
||||||
|
|
||||||
|
test: $(PROJECT)
|
||||||
|
@echo unimplemented
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm *.o $(PROJECT)
|
||||||
|
|
||||||
|
.cpp.o:
|
||||||
|
g++ -c $(CFLAGS) $<
|
||||||
|
|
||||||
|
t.t: t.t.o $(OBJECTS) test.o
|
||||||
|
g++ t.t.o $(OBJECTS) test.o $(LFLAGS) -o t.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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue