|
From: Jan M. <jan...@vo...> - 2007-05-21 15:01:58
|
Oh, thank you. There were nothing about TABs in the a manual I took the example from. It is like in this strange script language I worked. I cannot remember how it is called. But could not find an error and it were TABs at the biginnig of the lines too. Thank you very much Jan Mura ----- Original Message ----- From: "Lloyd" <ll...@cd...> To: "Jan Mura" <jan...@vo...> Cc: <dev...@li...> Sent: Monday, May 21, 2007 2:49 PM Subject: Re: [Dev-C++] An error in makefile > > > $(CC) $(FILES) -o out_exe # here is the line 7 with a missing separator > > do you mean this? > > $(CC) $(FILES) -o $(OUT_EXE) > > Regards, > Lloyd > > On Mon, 2007-05-21 at 14:30 +0200, Jan Mura wrote: > > Hello, > > > > I would like to compile my program using make. So I have written a makefile. > > Or to be honest just copy it from somewhere. > > > > It looks like: > > > > CC = gcc > > > > FILES = main.c bet_list.c > > > > OUT_EXE = ruleta.exe > > build: $(FILES) > > $(CC) $(FILES) -o out_exe # here is the line 7 with a missing separator > > > > clean: > > rm -f *.o core > > > > rebuild: clean build > > > > $(CC) -o $(OUT_EXE) $(FILES) > > > > clean: > > rm -f *.o core > > > > When I run make the output is: > > > > makefile:7: *** missing separator. Stop. > > > > I really do not know what separator is missing. > > Anyone see the mistake? > > > > Thank you in forward > > > > Jan Mura > > jan...@vo... > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > ______________________________________ > Scanned and protected by Email scanner > > > __________ Informace od NOD32 2281 (20070521) __________ > > Tato zprava byla proverena antivirovym systemem NOD32. > http://www.nod32.cz > > |