Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Tiny Makefile.in fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkauppila committed May 23, 2011
1 parent 33fa2b6 commit 0aa2d58
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/test-automation/Makefile.in
Expand Up @@ -13,12 +13,12 @@ srcdir = @srcdir@

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)

Expand All @@ -28,7 +28,7 @@ runner: $(SRC)
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 $@
Expand All @@ -48,5 +48,3 @@ distclean: clean
rm -f configure configure.scan
rm -f autoscan.log
rm -Rf autom4te* *.dSYM


0 comments on commit 0aa2d58

Please sign in to comment.