summaryrefslogtreecommitdiff
path: root/src/Makefile.Watcom
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-08-02 04:53:17 +0200
committerGuenter Knauf <lists@gknw.net>2010-08-02 04:53:17 +0200
commit5247266df6c1775f63a701d128f195abe9c550eb (patch)
treec06e6a4047e716c12baf63e63f128aa029da7f7e /src/Makefile.Watcom
parentdfa6ee890d13f43558b753d347b1fe029e5f3b30 (diff)
downloadcurl-5247266df6c1775f63a701d128f195abe9c550eb.tar.gz
Use suffix search path for sources in lib folder.
Diffstat (limited to 'src/Makefile.Watcom')
-rw-r--r--src/Makefile.Watcom11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 66e386daa..d3444472b 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -132,16 +132,11 @@ vclean realclean: clean .SYMBOLIC
$(RESOURCE): curl.rc
$(RC) $(DEBUG) -q -r -zm -I..\include $(SYS_INCL) $[@ -fo=$^@
-.ERASE
-.c{$(OBJ_DIR)}.obj:
- $(CC) $(CFLAGS) $[@ -fo=$^@
+# suffix search path - vpath-like hack
+.c: ..\lib
.ERASE
-$(OBJ_DIR)\rawstr.obj: ..\lib\rawstr.c
- $(CC) $(CFLAGS) $[@ -fo=$^@
-
-.ERASE
-$(OBJ_DIR)\nonblock.obj: ..\lib\nonblock.c
+.c{$(OBJ_DIR)}.obj:
$(CC) $(CFLAGS) $[@ -fo=$^@
#