diff options
Diffstat (limited to 'test/ldso/Makefile')
-rw-r--r-- | test/ldso/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/ldso/Makefile b/test/ldso/Makefile index 57b4a1fa6..3d2a47ad9 100644 --- a/test/ldso/Makefile +++ b/test/ldso/Makefile @@ -20,7 +20,11 @@ TESTDIR=../ include $(TESTDIR)/Rules.mak CFLAGS+=--uclibc-ctors -all: dltest libhowdy.so run +all: dltest2 dltest libhowdy.so run + +dltest2: dltest.c + $(CC) $(CFLAGS) dltest2.c -o dltest2 -ldl + ./dltest2 dltest.o: dltest.c $(CC) $(CFLAGS) -c dltest.c -o dltest.o @@ -39,4 +43,4 @@ run: dltest libhowdy.so ./dltest clean: - rm -f *.o *.so dltest core libhowdy.so + rm -f *.o *.so dltest2 dltest core libhowdy.so |