-
makefile woes
beware beginner
env SunOS 5.6
Hi,
I have a problem with a makefile, firstly I have never seen one before [Windows programmer] until now and
secondly I have an error
<snip>
export INCLUDE_DIR=/inputdec/pac/src/include
export COMMON_DIR=/export/home/pac/sita/src/common
export LIBRARY_DIR=/export/home/pac/sita/src/library
export CREATE_LIBRARY_DIR=/export/home/pac/sita/src/library
export INCLUDE=$(INCLUDE_DIR)
export INCLUDE_FLAG=-I$(INCLUDE)
export LIBRARY=$(LIBRARY_DIR)
</snip>
<error>
$ . include.mk
ksh: INCLUDE_DIR: not found
ksh: INCLUDE: not found
ksh: LIBRARY_DIR: not found
</error>
naturally all the folders are in their respective places, common dir is okay but include dir and library dir is not, the snip above has been cut-n-pasted, so there are no strange characters either,
tia,
-
>>$(INCLUDE_DIR)
Try
>>${INCLUDE_DIR}
-