Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2006, 02:49 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Problem running ifdef in GNU make 3.80

code :
ifdef MYDIR
echo "defined"

ifdef MYDIR
make: ifdef: Command not found
make: *** [all] Error 127

i got to knw tht ifdef is a macro and not a make command ...Then how do i check whether a variable is set in a makefile?????
Old 03-03-2006, 04:56 AM   #2
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
check the original thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ifdef not working in GNU make version 3.80 jennifer29 Programming 5 12-19-2011 04:40 PM
Problem running make menuconfig cb9fl Slackware 8 12-07-2004 01:49 AM
Problem running make xconfig The GingerNinja Linux - Newbie 2 08-23-2004 08:45 AM
problem running the make command Cszikszoy Linux - Software 2 06-08-2004 09:27 AM
Problem when running make? eXor Linux - Software 5 08-13-2003 11:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration