Commit 87553ecc authored by Markus Kauppila's avatar Markus Kauppila

Tiny Makefile.in fixes

parent 37ea6778
...@@ -13,12 +13,12 @@ srcdir = @srcdir@ ...@@ -13,12 +13,12 @@ srcdir = @srcdir@
SRC = runner.c SRC = runner.c
TEST_SRC = test.c TEST_SRC = test.c
TEST_OBJ = test.o TEST_OBJ = test.o
ALL_TESTS = libtest.so ALL_TESTS = libtest.so
.PHONY: all clean .PHONY: all clean distclean
all: runner $(ALL_TESTS) all: runner $(ALL_TESTS)
...@@ -28,7 +28,7 @@ runner: $(SRC) ...@@ -28,7 +28,7 @@ runner: $(SRC)
tests: $(ALL_TESTS) tests: $(ALL_TESTS)
libtest.so: test.o libtest.so: test.o
$(CC) -shared -wl,-soname,$@ -o $@ $+ $(CC) -shared -wl,-soname,$@ -o $@ $(LDFLAGS) $+
test.o: $(TEST_SRC) test.o: $(TEST_SRC)
$(CC) -fPIC $(CFLAGS) -c $+ -o $@ $(CC) -fPIC $(CFLAGS) -c $+ -o $@
...@@ -48,5 +48,3 @@ distclean: clean ...@@ -48,5 +48,3 @@ distclean: clean
rm -f configure configure.scan rm -f configure configure.scan
rm -f autoscan.log rm -f autoscan.log
rm -Rf autom4te* *.dSYM rm -Rf autom4te* *.dSYM
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment