Index: tweetnacl/Makefile ================================================================== --- tweetnacl/Makefile +++ tweetnacl/Makefile @@ -10,19 +10,21 @@ tweetnacl.c: tweetnacl.c.new tweetnacl.h.new patches/tweetnacl-supercop.diff patches/tweetnacl-derivepubkey.diff rm -f tweetnacl.c tweetnacl.h patch -p1 < patches/tweetnacl-supercop.diff || ( rm -f tweetnacl.c.new tweetnacl.h.new; exit 1 ) patch -p1 < patches/tweetnacl-derivepubkey.diff || ( rm -f tweetnacl.c.new tweetnacl.h.new; exit 1 ) + rm -f tweetnacl.c.new.orig tweetnacl.h.new.orig mv tweetnacl.h.new tweetnacl.h mv tweetnacl.c.new tweetnacl.c tweetnacl.h: tweetnacl.c tweetnacl.o: tweetnacl.c tweetnacl.h $(CC) $(CPPFLAGS) $(CFLAGS) -DSUPERCOP=1 -I../blake2b/ -o tweetnacl.o -c tweetnacl.c clean: + rm -f tweetnacl.c.new.orig tweetnacl.h.new.orig rm -f tweetnacl.h.new tweetnacl.h rm -f tweetnacl.c.new tweetnacl.c rm -f tweetnacl.o distclean: clean