[BACK]Return to bsd.prog.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.prog.mk between version 1.46 and 1.47

version 1.46, 2005/09/16 21:23:21 version 1.47, 2006/05/27 23:01:21
Line 8 
Line 8 
   
 .include <bsd.own.mk>  .include <bsd.own.mk>
   
 .SUFFIXES: .out .o .c .cc .C .cxx .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0  .SUFFIXES: .out .ln .o .c .cc .C .cxx .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0
   
 .if ${WARNINGS:L} == "yes"  .if ${WARNINGS:L} == "yes"
 CFLAGS+=       ${CDIAGFLAGS}  CFLAGS+=       ${CDIAGFLAGS}
Line 81 
Line 81 
 SRCS?=  ${PROG}.c  SRCS?=  ${PROG}.c
 .  if !empty(SRCS:N*.h:N*.sh)  .  if !empty(SRCS:N*.h:N*.sh)
 OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}  OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
 LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}  LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln} ${SRCS:M*.y:.y=.ln} ${SRCS:M*.l:.l=.ln}
 .  endif  .  endif
   
 .  if defined(OBJS) && !empty(OBJS)  .  if defined(OBJS) && !empty(OBJS)

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47