| version 1.140, 2001/11/14 21:49:53 |
version 1.141, 2001/11/14 23:06:27 |
| Line 102 CLEANFILES+=strings |
|
| Line 102 CLEANFILES+=strings |
|
| .if defined(PROG) |
.if defined(PROG) |
| SRCS?= ${PROG}.c |
SRCS?= ${PROG}.c |
| |
|
| DPSRCS+= ${SRCS:M*.[ly]:C/..$/.c/} |
DPSRCS+= ${SRCS:M*.[ly]:C/\..$/.c/} |
| CLEANFILES+= ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}} |
CLEANFILES+= ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}} |
| |
|
| .if !empty(SRCS:N*.h:N*.sh:N*.fth) |
.if !empty(SRCS:N*.h:N*.sh:N*.fth) |
| Line 111 LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c= |
|
| Line 111 LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c= |
|
| .endif |
.endif |
| |
|
| .if defined(OBJS) && !empty(OBJS) |
.if defined(OBJS) && !empty(OBJS) |
| .NOPATH: ${OBJS} ${PROG} ${SRCS:M*.[ly]:C/..$/.c/} ${YHEADER:D${SRCS:M*.y:.y=.h}} |
.NOPATH: ${OBJS} ${PROG} ${SRCS:M*.[ly]:C/\..$/.c/} ${YHEADER:D${SRCS:M*.y:.y=.h}} |
| |
|
| .if defined(DESTDIR) |
.if defined(DESTDIR) |
| |
|