Tiny Makefile.in fixes
authorMarkus Kauppila <markus.kauppila@gmail.com>
Mon, 23 May 2011 10:43:49 +0300
changeset 5660 8aec500a7299
parent 5659 37e7b3b4b5e3
child 5661 8e1868d46268
Tiny Makefile.in fixes
test/test-automation/Makefile.in
--- a/test/test-automation/Makefile.in	Fri May 20 13:50:52 2011 +0300
+++ b/test/test-automation/Makefile.in	Mon May 23 10:43:49 2011 +0300
@@ -13,12 +13,12 @@
 
 SRC	=  runner.c
 
-TEST_SRC = test.c 
+TEST_SRC = test.c
 TEST_OBJ = test.o
 
 ALL_TESTS = libtest.so
 
-.PHONY: all clean
+.PHONY: all clean distclean
 
 all: runner $(ALL_TESTS)
 
@@ -28,7 +28,7 @@
 tests: $(ALL_TESTS)
 
 libtest.so: test.o
-	$(CC) -shared -wl,-soname,$@ -o $@ $+
+	$(CC) -shared -wl,-soname,$@ -o $@ $(LDFLAGS) $+
 
 test.o: $(TEST_SRC)
 	$(CC) -fPIC $(CFLAGS) -c $+ -o $@
@@ -48,5 +48,3 @@
 	rm -f configure configure.scan
 	rm -f autoscan.log
 	rm -Rf autom4te* *.dSYM
-
-