Skip to content

Commit

Permalink
Use suffix search path for sources in lib folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
gknauf committed Aug 2, 2010
1 parent dfa6ee8 commit 5247266
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/Makefile.Watcom
Original file line number Diff line number Diff line change
Expand Up @@ -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=$^@

#
Expand Down

0 comments on commit 5247266

Please sign in to comment.