help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please help me out in this


From: Aditya Kher
Subject: Re: Please help me out in this
Date: Wed, 17 May 2006 18:07:55 +0530

I am not sure whether this is the output you had expected but this is
what appears after running that makefile with little modifications:

53 abhay2 > gmake -f  t.make
!!! makhdr ERROR: undefined variable: DEVDIR
!!! makhdr ERROR: undefined variable: ETCDIR
!!! makhdr ERROR: invalid variable: MAKTYP
!!! makhdr ERROR: invalid variable: MAKHDRTYP))
-----------------------------------------------------
And the modified makefile
54 abhay2 > cat t.make
ifeq ($(DEVDIR),)

       _error_::
       @echo "!!! makhdr ERROR: undefined variable: DEVDIR"

endif



ifeq ($(ETCDIR),)

_error_::
       @echo "!!! makhdr ERROR: undefined variable: ETCDIR"

endif



ifneq ($(MAKTYP),gnu)

_error_::
       @echo "!!! makhdr ERROR: invalid variable: MAKTYP"

endif



ifneq    ($(MAKHDR),$(ETCDIR)/makhdr.$(MAKTYP))

_error_::
       @echo "!!! makhdr ERROR: invalid variable: MAKHDR"

endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]