
# Modified Definitions #

HOME = /u/usystem/software/concc

VENDOR = sun
CPU = sparc
OS = solaris

# Targets #

ALL = ${HOME}/bin ${HOME}/bin/concc

# Directives #

all : ${ALL};

# Dependencies #

${HOME}/bin :
	mkdir $@

OFILES = ${HOME}/lib/vstrcat.o ${HOME}/lib/shell.o
HFILES = ${HOME}/inc/vstrcat.h ${HOME}/inc/uUnix.h ${HOME}/inc/shell.h

CC = gcc -Wall -finline-functions -I${HOME}/inc -DHOME=\"${HOME}\" -D__${VENDOR}__

.IF ${OS} == solaris
	CC += -Xlinker -R/usr/ucblib -L/usr/ucblib -lucb
.END

${HOME}/bin/concc : concc.c ${OFILES} ${HFILES} Makefile
	${CC} concc.c ${OFILES} -o $@

# Local Variables: #
# compile-command: "dmake" #
# End: #
