Date: Mon, 22 Apr 1996 18:20:36 +1000 From: root Message-Id: <199604220820.SAA00278@linuxbox.nse.com.au> To: djgpp AT delorie DOT com Subject: Get ready to through the book at me :) .... Reply-To: naderr AT topaz DOT cqu DOT edu DOT au Ok fellas, here we go, I'm trying to write the most simple makefile for the most simple of C programs, hello.cc ... yet I get makefile:5: *** missing separator. Stop The makefile goes like: # gnu makefile all : hello.exe hello.exe : hello.cc gcc -O2 hello.cc -o hello.exe # eof I can compile the little bugger from the command line: C:\> gcc -O2 hello.cc -o hello.exe After not being able to figure it out I grabbed the \djgpp\src\makefile copied it and modified it for hello.cc Yet I got the same thing! What is _it_ that I'm missing? Also, these makefiles are fairly GNU standard? compatible with gnu make-3.7.4 that I use for Linux? So if I setup the OS specific variables such as "target extension $(EXE)", etc, I should be able to have the same makefile for both platforms by just editing (un/commenting) the right make variables?? Any ideas greatly appreaciated Cheers, Rob