Making a Makefile



Hi,
I am new to this list and makefiles. From the online documentation I was able to compile a simple 1 file program using:


$ g++ -Wall -g helloworld.cpp -o helloworld `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`

I need help creating a makefile. No big deal for this example but it will become necessary for larger programs.

Thanks,
Kevin


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail




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