From a32c389dd9c1f6e967a80feee8f5281201293b62 Mon Sep 17 00:00:00 2001
From: an7s <an7s@git.zephyr-software.com>
Date: Wed, 18 Jul 2012 18:26:23 +0000
Subject: [PATCH] updated dependencies

Former-commit-id: 8422252872aacf75a3113e7675bb1b96f3c0452e
---
 sql/test/Makefile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/sql/test/Makefile b/sql/test/Makefile
index d19cf7a25..a4bc47cb9 100644
--- a/sql/test/Makefile
+++ b/sql/test/Makefile
@@ -1,12 +1,15 @@
 
+generate_signatures=$(PEASOUP_HOME)/tools/generate_string_signatures.sh
+
 all: libsqlfw test1.exe test2.exe
 
-test2.exe: test2.o sqlfw.c
+test2.exe: libsqlfw sqlite3.o test2.o sqlfw.c
 	gcc test2.o sqlite3.o -o test2.exe -L. -lsqlfw
+	$(generate_signatures) test2.exe
 	
-test1.exe: test1.o sqlfw.c
+test1.exe: libsqlfw sqlite3.o test1.o sqlfw.c
 	gcc test1.o sqlite3.o -o test1.exe -L. -lsqlfw
-#	gcc test1.o sqlite3.o -o test1.exe -lpthread
+	$(generate_signatures) test1.exe
 
 test1.o: test1.c
 	gcc -c test1.c
@@ -14,7 +17,8 @@ test1.o: test1.c
 test2.o: test2.c
 	gcc -c test2.c
 
-sqlite3.o: sqlite3.c sqlite3.h sqlfw.c
+#sqlite3.o: sqlite3.c sqlite3.h sqlfw.c
+sqlite3.o: sqlfw.c
 	cp ../sqlite-autoconf-3071300/sqlite3.c .
 	cp ../sqlite-autoconf-3071300/sqlite3.h .
 	cat sqlfw.c >> sqlite3.c
@@ -24,4 +28,5 @@ libsqlfw: sqlite3.o
 	gcc -shared -o libsqlfw.so sqlite3.o 
 
 clean:
-	rm *.o *.tmp
+	-rm *.o *.tmp
+	-rm sqlite3.c sqlite3.h
-- 
GitLab