libtommath/etc/makefile

23 lines
528 B
Makefile
Raw Normal View History

2003-02-28 16:09:08 +00:00
CFLAGS += -Wall -W -Wshadow -O3 -fomit-frame-pointer -funroll-loops -I../
# default lib name (requires install with root)
# LIBNAME=-ltommath
# libname when you can't install the lib with install
LIBNAME=../libtommath.a
2003-02-28 16:08:34 +00:00
pprime: pprime.o
2003-02-28 16:09:08 +00:00
$(CC) pprime.o $(LIBNAME) -o pprime
2003-02-28 16:08:34 +00:00
tune: tune.o
2003-02-28 16:09:08 +00:00
$(CC) tune.o $(LIBNAME) -o tune
2003-02-28 16:08:34 +00:00
mersenne: mersenne.o
2003-02-28 16:09:08 +00:00
$(CC) mersenne.o $(LIBNAME) -o mersenne
2003-03-22 15:10:20 +00:00
drprime: drprime.o
$(CC) drprime.o $(LIBNAME) -o drprime
2003-02-28 16:08:34 +00:00
clean:
2003-03-22 15:10:20 +00:00
rm -f *.log *.o *.obj *.exe pprime tune mersenne drprime