changed Int::Div -- a remainder is not returning now but taking as a parameter (a pointer or reference) changed order in parameters in UInt::AddTwoInts added Int::AddInt added Int::AddTwoInts added Int::SubInt changed Int::AddOne and Int::SubOne (much faster now) fixed a bug in UInt::operator--() and Int::operator--() (there was adding instead of subtracting) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@13 e52654a7-88a9-db11-a3e9-0013d4bc506e
31 lines
312 B
Makefile
31 lines
312 B
Makefile
CC = g++
|
|
CFLAGS = -Wall -pedantic -s -O2 -I..
|
|
|
|
|
|
.SUFFIXES: .cpp .o
|
|
|
|
.cpp.o:
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
|
|
all: uint int
|
|
|
|
|
|
uint: uint.o
|
|
$(CC) -o uint $(CFLAGS) uint.o
|
|
|
|
int: int.o
|
|
$(CC) -o int $(CFLAGS) int.o
|
|
|
|
|
|
uint.o: uint.cpp
|
|
int.o: int.cpp
|
|
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f *.s
|
|
rm -f uint
|
|
rm -f int
|
|
rm -f *.exe
|