CUtil 576 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# 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
Robert Sprowson's avatar
Robert Sprowson committed
19 20
${TARGET}: ${APP_OBJS_} ${UTIL_LIBS} ${DIRS}
	${LD} ${LDFLAGS} -o ${TARGET} ${APP_OBJS_} ${UTIL_LIBS}
21 22 23
	${SETTYPE} ${TARGET} Utility

# EOF