Use suffix search path for sources in lib folder.

This commit is contained in:
Guenter Knauf 2010-08-02 04:53:17 +02:00
parent dfa6ee890d
commit 5247266df6
1 changed files with 3 additions and 8 deletions

View File

@ -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 .."
#