crt: test: Build libprocdetach.dll without import library and clean via CLEANFILES Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-crt/testcases/Makefile.am b/mingw-w64-crt/testcases/Makefile.am index 3ce0c07..480094e 100644 --- a/mingw-w64-crt/testcases/Makefile.am +++ b/mingw-w64-crt/testcases/Makefile.am
@@ -95,10 +95,13 @@ t_stprintf_tmpl.h \ t_swprintf_tmpl.h -libprocdetach.dll.a: libprocdetach.o - $(LINK) -shared libprocdetach.o -Wl,--out-implib,$@ -o libprocdetach.dll +CLEANFILES = \ + libprocdetach.dll -t_safe_flush_LDADD = libprocdetach.dll.a +libprocdetach.dll: libprocdetach.o + $(LINK) -shared libprocdetach.o -o libprocdetach.dll + +t_safe_flush_LDADD = libprocdetach.dll tstmaincpp_SOURCES = tstmaincpp.cpp t_trycatch_SOURCES = t_trycatch.cpp @@ -126,6 +129,3 @@ # Include the complex math testcase fragment. include complex/Makefile.am - -clean-local: - rm -f libprocdetach.dll libprocdetach.dll.a