summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-10-11 16:12:10 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-10-11 16:12:10 +0000
commitf161310193e13b2e51906b52ab0f4275b8ff2d60 (patch)
tree2632d247d0e57fd2c577086e3568cb82459c300e /test
parentfbc0225402591b46184eeeaed53854248a64659d (diff)
downloadlibapr-f161310193e13b2e51906b52ab0f4275b8ff2d60.tar.gz
Same change as test/Makefile.win; we need to watch for
a recompiled lib. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@583864 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/internal/Makefile.win10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/internal/Makefile.win b/test/internal/Makefile.win
index efda2da87..a881f0781 100644
--- a/test/internal/Makefile.win
+++ b/test/internal/Makefile.win
@@ -76,15 +76,17 @@ CFLAGS = /nologo /c /W3 /Gm /EHsc /Zi /Od $(INCLUDES) \
$(STATIC_CFLAGS) $(DEBUG_CFLAGS) /D "BINPATH=$(OUTDIR:\=/)" \
/D _DEBUG /D WIN32 /Fo"$(INTDIR)/" /FD
-LD_LIBS = $(LOCAL_LIB) kernel32.lib advapi32.lib ws2_32.lib wsock32.lib \
+LD_LIBS = kernel32.lib advapi32.lib ws2_32.lib wsock32.lib \
ole32.lib shell32.lib rpcrt4.lib
LDFLAGS = /nologo /debug /subsystem:console /incremental:no
SHLDFLAGS = /nologo /dll /debug /subsystem:windows /incremental:no
-.c{$(OUTDIR)}.exe:
- $(CL) $(CFLAGS) -c $** -Fd$(INTDIR)\ $(INCLUDES)
- $(LD) $(LDFLAGS) /out:"$@" $*.obj $(LD_LIBS)
+.c{$(INTDIR)}.obj:
+ $(CL) $(CFLAGS) -c $< -Fd$(INTDIR)\ $(INCLUDES)
+
+$(OUTDIR)\testucs.exe: $(INTDIR)\testucs.obj $(LOCAL_LIB)
+ $(LD) $(LDFLAGS) /out:"$@" $** $(LD_LIBS)
@if exist "$@.manifest" \
mt.exe -manifest "$@.manifest" -outputresource:$@;1