help-make
[Top][All Lists]
Advanced

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

make always builds everything


From: Edgar
Subject: make always builds everything
Date: Sat, 12 Nov 2011 18:42:09 -0600
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

I'm relatively new to make, but for the life of me I can't get make to work the way it is supposed to by only rebuilding what is necessary. It always rebuilds everything all over again and I don't know what I am doing wrong. Hopefully someone here can take a look at my makefiles and tell me what is wrong.

I posted about this on a thread at gamedev.net, here :
http://www.gamedev.net/topic/614825-makefile-always-builds-everything-why/

You can check out the latest makefiles and what they build on SVN at sourceforge if you want to try building them yourself.
svn checkout "http://svn.code.sf.net/p/eaglegui/code/trunk eaglegui-code"
svn checkout "http://svn.code.sf.net/p/skylinedefense/code/trunk skylinedefense-code"

Basic make targets
make [DEBUGMODE=1 | PROFILEMODE=1] [STATICLINK=1] [install]

Eagle depends on Allegro 4.4, which you can get here :
http://alleg.sourceforge.net/download

To build allegro you need cmake and you use :
cd allegro
mkdir build
cd build
cmake -G "MinGW Makefiles" -DSHARED=on|off -DCMAKE_BUILD_TYPE=Release|Debug|Profiling ..
(mingw32-)make
(sudo) (mingw32-)make install

'MinGW Makefiles' can be replaced with 'Unix Makefiles' if on that platform. Build docs for allegro are in the allegro/docs/build folder.

Skyline depends on both Eagle and Allegro 4.4.

So if anyone could take a look at my gamedev.net thread or my makefiles or even try to build these projects yourself, I would really appreciate any help you can give me.

Thanks,
Edgar




reply via email to

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