summaryrefslogtreecommitdiff
path: root/test/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-03 06:45:58 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-03 06:45:58 +0000
commitf9158d441880222b1ba287947ebc863785bf557c (patch)
tree39cceddbe7fc1457a8224a3b4270db1099d1a991 /test/ldso
parent4836768df76d3919451aa9f847182c8f5f4068e7 (diff)
Scrub up the tests a bit, and force everybody to use the
build dir, so nothing need be installed... -Erik
Diffstat (limited to 'test/ldso')
-rw-r--r--test/ldso/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/ldso/Makefile b/test/ldso/Makefile
index 3131a715a..59946ae85 100644
--- a/test/ldso/Makefile
+++ b/test/ldso/Makefile
@@ -4,17 +4,16 @@ include $(TESTDIR)/Rules.mak
all: dltest shared run
dltest:
- $(TESTCC) $(TEST_CFLAGS) -c dltest.c -o dltest.o
- $(TESTCC) $(TEST_CFLAGS) -c howdy.c -o howdy.o
+ $(CC) $(CFLAGS) -c dltest.c -o dltest.o
+ $(CC) $(CFLAGS) -c howdy.c -o howdy.o
shared:
- $(TESTCC) $(TEST_CFLAGS) -shared -o libhowdy.so -Wl,-soname,libhowdy.so howdy.o
- $(TESTCC) $(TEST_CFLAGS) -o dltest dltest.o -ldl
+ $(CC) $(CFLAGS) -shared -o libhowdy.so -Wl,-soname,libhowdy.so howdy.o
+ $(CC) $(CFLAGS) -o dltest dltest.o -ldl
run:
@echo Running dltest
./dltest
clean:
- rm -f *.o *.so dltest core
-
+ rm -f *.o *.so dltest core libhowdy.so