From 5247266df6c1775f63a701d128f195abe9c550eb Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 2 Aug 2010 04:53:17 +0200 Subject: [PATCH] Use suffix search path for sources in lib folder. --- src/Makefile.Watcom | 11 +++-------- 1 file 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,18 +132,13 @@ vclean realclean: clean .SYMBOLIC $(RESOURCE): curl.rc $(RC) $(DEBUG) -q -r -zm -I..\include $(SYS_INCL) $[@ -fo=$^@ +# suffix search path - vpath-like hack +.c: ..\lib + .ERASE .c{$(OBJ_DIR)}.obj: $(CC) $(CFLAGS) $[@ -fo=$^@ -.ERASE -$(OBJ_DIR)\rawstr.obj: ..\lib\rawstr.c - $(CC) $(CFLAGS) $[@ -fo=$^@ - -.ERASE -$(OBJ_DIR)\nonblock.obj: ..\lib\nonblock.c - $(CC) $(CFLAGS) $[@ -fo=$^@ - # # Dependencies based on "gcc -MM .." #