aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=$^@
#