[prev in list] [next in list] [prev in thread] [next in thread]
List: libnet
Subject: Re: Makefile Question
From: Matt Bing <mbing () nfr ! net>
Date: 2002-01-24 15:44:37
[Download RAW message or body]
Blue R said:
> But when I add a graphical interface and need to generate a Makefile, I add the \
> following to the Makefile:
> CFLAGS = -pipe -Wall -W -O2 -D`libnet-config --defines` -DNO_DEBUG
> CXXFLAGS= -pipe -Wall -W -O2 -D`libnet-config --defines` -DNO_DEBUG
>
> ..as the Manual said. But now I am getting the following error when i try and \
> compile:
I don't know what the manual says, but take out the leading '-D', so it
reads like this:
CFLAGS = -pipe -Wall -W -O2 `libnet-config --defines` -DNO_DEBUG
CXXFLAGS= -pipe -Wall -W -O2 `libnet-config --defines` -DNO_DEBUG
libnet-config will generate the appropriate flags for you.
--
Matt Bing
NFR Security
Rapid Response Team
---------------------------------------------------------------------
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com
For additional commands, e-mail: libnet-help@securityfocus.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic