Re: [Suspend-devel] Makefile cleanup

2006-09-11 Thread Rafael J. Wysocki
On Monday, 11 September 2006 11:57, Stefan Seyfried wrote: > On Mon, Sep 11, 2006 at 11:39:46AM +0200, Pavel Machek wrote: > > Hi! > > > > > I need to pass CFLAGS to make. First i tried just passing CC_FLAGS > > > instead, > > > but then CONFIG_COMPRESS and CONFIG_ENCRYPT did no longer work (alwa

Re: [Suspend-devel] Makefile cleanup

2006-09-11 Thread Stefan Seyfried
On Mon, Sep 11, 2006 at 11:39:46AM +0200, Pavel Machek wrote: > Hi! > > > I need to pass CFLAGS to make. First i tried just passing CC_FLAGS instead, > > but then CONFIG_COMPRESS and CONFIG_ENCRYPT did no longer work (always > > CC_FLAGS from the make commandline were used). So i came up with this

Re: [Suspend-devel] Makefile cleanup

2006-09-11 Thread Tim Dijkstra
On Mon, 11 Sep 2006 11:33:52 +0200 Stefan Seyfried <[EMAIL PROTECTED]> wrote: > I also tried to make the use and ordering of "-c" and "-o" to $(CC) a bit > more consistent throughout the Makefile. > > Any objections? Why don't you use something like vbetool/vbetool.o: vbetool/vbetool.c

Re: [Suspend-devel] Makefile cleanup

2006-09-11 Thread Pavel Machek
Hi! > I need to pass CFLAGS to make. First i tried just passing CC_FLAGS instead, > but then CONFIG_COMPRESS and CONFIG_ENCRYPT did no longer work (always > CC_FLAGS from the make commandline were used). So i came up with this and > can now do (for example): > >make CONFIG_COMPRESS=yes CFLAGS

[Suspend-devel] Makefile cleanup

2006-09-11 Thread Stefan Seyfried
Hi. I need to pass CFLAGS to make. First i tried just passing CC_FLAGS instead, but then CONFIG_COMPRESS and CONFIG_ENCRYPT did no longer work (always CC_FLAGS from the make commandline were used). So i came up with this and can now do (for example): make CONFIG_COMPRESS=yes CFLAGS="-O2 -march