CUtil 574 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# Makefile fragment for C and assembler transient utilties

INCLUDED_CUTIL = YES

# This makefile provides the following phony targets:
#
#    all  install  debug
#
# It inherits most of its properties from the CApp makefile.

CUSTOMLINK = custom
include CApp

# You can't currently use the shared C library from a transient
UTIL_LIBS := $(filter-out ${CLIB},${APP_LIBS}) ${ANSILIB}

CFLAGS  += ${C_NO_ZI} ${C_NO_STKCHK}
LDFLAGS += -bin
${TARGET}: ${APP_OBJS} ${UTIL_LIBS} ${DIRS}
	${LD} ${LDFLAGS} -o ${TARGET} ${APP_OBJS} ${UTIL_LIBS}
	${SETTYPE} ${TARGET} Utility

# EOF