Re: [Anjuta-list] Anjuta with custom makefiles



В Вск, 27/04/2008 в 00:21 +0400, Roman Makurin пишет:
> Hi All!
> 
> I`ve got a problem with anjuta and project with handmade makefile. Here
> is my Makefile:
> 
> OBJ = main.o
> .PHONY = clean dist-clean
> 
> test-app: $(OBJ)
> 	gcc -Wall -o $@ $^ `pkg-config --libs gtk+-2.0`
> 
> %.o: %.c
> 	gcc -Wall -c $*.c `pkg-config --cflags gtk+-2.0`
> 
> clean:
> 	rm -f $(OBJ)
> 
> dist-clean: clean
> 	rm -f test-app
> 
> I can compile and build my project without any problem. But when I`m
> trying to execute binary, anjuta gives me an error dialog with following
> message:
> 
> "No executables in this project!"
> 
> What I need to do to be able to execute my program ?
> 
> Thanks
> 
> PS: I do most of my work in vim, but from time to time I give a chance
> to anjuta :) And I think 2.4 is much better then previous versions.

If there is no chance to execute binary from project with custom make
files why has anjuta got templates for such projects ? I think it`s
not useful in such case. 

-- 
If you think of MS-DOS as mono, and Windows as stereo,
 then Linux is Dolby Digital and all the music is free...

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=



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