32 and 64 bits, much faster now added: tests for UInt::AddInt fixed: tests: test_lahf() returned incorrect value for 32bit platform git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@82 e52654a7-88a9-db11-a3e9-0013d4bc506e
32 lines
346 B
Makefile
32 lines
346 B
Makefile
CC = g++
|
|
o = main.o uinttest.o
|
|
CFLAGS = -Wall
|
|
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
|
|
|
|
|