Index: sks-ecc-0.93/Makefile
===================================================================
--- sks-ecc-0.93.orig/Makefile 2007-11-24 16:38:47.000000000 +0100
+++ sks-ecc-0.93/Makefile 2007-11-24 16:45:55.000000000 +0100
@@ -15,11 +15,12 @@
# ***** Some defs/flags have mandatory alternative, some not
# ******************************
-CFLAGS += -s
+#CFLAGS += -s
CFLAGS += -DVERSION='"$(VER)"'
-INST = /usr/local/bin
+#INST = /usr/local/bin
#INST = $(HOME)/bin
+INST = $(DESTDIR)/usr/bin
# ******* If you don't have 'libtommath' installed
LTM = tfm
@@ -33,11 +34,11 @@
# specify architecture here
#ARCH=i386
#ARCH=pentium4
-ARCH=k8
-CFLAGS += -march=$(ARCH)
+#ARCH=k8
+#CFLAGS += -march=$(ARCH)
# specify language ES, EN or input as command-line option i.e.: 'make SLANG=0'
-SLANG=$(ES)
+SLANG=$(EN)
CFLAGS += -DSKS_LANG=$(SLANG)
@@ -49,7 +50,7 @@
#-Wsign-compare -W -Wno-unused -Wshadow -Werror
# optimize for SPEED(don't include SIZE options)
-CFLAGS += -O3 -funroll-loops
+CFLAGS += -O2 -funroll-loops
CFLAGS += -fomit-frame-pointer
CFLAGS += -DFULLTABLES
@@ -222,5 +223,5 @@
rm -f sks.exe
install: sks
- cp sks $(INST)
+ cp sks $(INST)/sks-ecc