From 5247266df6c1775f63a701d128f195abe9c550eb Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 2 Aug 2010 04:53:17 +0200 Subject: Use suffix search path for sources in lib folder. --- src/Makefile.Watcom | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/Makefile.Watcom') 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=$^@ # -- cgit v1.2.3