|
From: Lloyd <ll...@cd...> - 2007-05-21 12:42:45
|
$(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 |