20 lines
462 B
Makefile
20 lines
462 B
Makefile
# $Id: Makefile.inc,v 1.3 1993/10/23 02:33:13 cgd Exp $
|
|
#
|
|
# NOTE: $S must correspond to the top of the 'sys' tree
|
|
|
|
C_SA_DIR= $S/lib/libc_sa
|
|
|
|
.if exists($(C_SA_DIR)/obj.${MACHINE})
|
|
C_SA_LIBDIR= $(C_SA_DIR)/obj.${MACHINE}
|
|
.else
|
|
C_SA_LIBDIR= $(C_SA_DIR)
|
|
.endif
|
|
|
|
C_SA_LIB= $(C_SA_LIBDIR)/libc_sa.a
|
|
|
|
$(C_SA_LIB): .NOTMAIN __always_make_c_sa_lib
|
|
@echo making sure the stand-alone c library is up to date...
|
|
@(cd $(C_SA_DIR) ; make)
|
|
|
|
__always_make_c_sa_lib: .NOTMAIN
|