diff libtomcrypt/Makefile.in @ 366:59531221b846

Fix up separate-directory building for libtomcrypt Use $CC rather than $LD for linking
author Matt Johnston <matt@ucc.asn.au>
date Wed, 11 Oct 2006 16:00:50 +0000
parents 1b9e69c058d2
children 0cbe8f6dbf9e
line wrap: on
line diff
--- a/libtomcrypt/Makefile.in	Mon Sep 11 11:22:52 2006 +0000
+++ b/libtomcrypt/Makefile.in	Wed Oct 11 16:00:50 2006 +0000
@@ -158,7 +158,7 @@
 
 #ciphers come in two flavours... enc+dec and enc 
 src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
-	$(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
+	$(CC) $(CFLAGS) -DENCRYPT_ONLY -c $< -o src/ciphers/aes/aes_enc.o
 
 #These are the rules to make certain object files.
 src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c