chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
less recompilation of hash fns.
[chiark-tcl.git]
/
base
/
troglodyte-Makefile
diff --git
a/base/troglodyte-Makefile
b/base/troglodyte-Makefile
index 33cace8d755930e8ef15457743b2354c390549b9..9794ba49c2b172e297f8efe78adc22bf17977979 100644
(file)
--- a/
base/troglodyte-Makefile
+++ b/
base/troglodyte-Makefile
@@
-20,6
+20,7
@@
AUTOS= $(AUTO_HDRS) $(AUTO_SRCS)
TARGETS= hbytes.so
TARGETS= hbytes.so
+CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3
CFLAGS= -g -Wall $(OPTIMISE)
OPTIMISE= -O2
CFLAGS= -g -Wall $(OPTIMISE)
OPTIMISE= -O2
@@
-38,7
+39,13
@@
hbytes.so: $(OBJS)
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
serpent.o: serpent.c serpent.h serpentsboxes.h
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
serpent.o: serpent.c serpent.h serpentsboxes.h
- $(CC) $(CFLAGS) $(CPPFLAGS) -O3 -o $@ -c $<
+ $(CC_CRYPTO) -o $@ -c $<
+
+md5.o: md5.c md5.h
+ $(CC_CRYPTO) -o $@ -c $<
+
+sha1.o: sha1.c sha1.h
+ $(CC_CRYPTO) -o $@ -c $<
clean:
rm -f $(OBJS) $(TARGETS) *~ ./#*#
clean:
rm -f $(OBJS) $(TARGETS) *~ ./#*#