changed: UInt::FromString, added a parametr 'after_source'
which is pointing at the end of the parsing string added: initial import of tests: testing UInt::Add method (not finished) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@79 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
31
tests/Makefile
Normal file
31
tests/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
CC = g++
|
||||
o = main.o uinttest.o
|
||||
CFLAGS = -Wall -pedantic
|
||||
ttmath = /d/roboczy/prog/ttmath
|
||||
name = tests
|
||||
|
||||
|
||||
|
||||
.SUFFIXES: .cpp .o
|
||||
|
||||
.cpp.o:
|
||||
$(CC) -c $(CFLAGS) -I$(ttmath) $<
|
||||
|
||||
|
||||
all: $(name)
|
||||
|
||||
|
||||
$(name): $(o)
|
||||
$(CC) -o $(name) $(CFLAGS) -I$(ttmath) $(o)
|
||||
|
||||
|
||||
main.o: main.cpp uinttest.h
|
||||
uinttest.o: uinttest.cpp uinttest.h
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f $(name)
|
||||
rm -f $(name).exe
|
||||
|
||||
|
Reference in New Issue
Block a user