User forums > Help
Import project from Automake
MortenMacFly:
--- Quote from: thomas on December 02, 2008, 09:42:26 pm ---Well, considering that KDevelop's build system is based on autoconf/make, the ability to import foreign makefiles is no big magic. It's pretty much copy-paste, and make will do the rest.
--- End quote ---
Oh... understood. So that's no "magic" then... ;-)
tomb_unaff:
Thanks for reply,
MortenMacFly I did what you said & when I build application (Ctrl+F9)
I got this message:
make: *** No rule to make target `Debug'. Stop.
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
I want to have a debug enable as well.
Is it something wrong with make file? Plese have a look into Makefile:
http://codepad.org/EiNZQRgM
Here is the CLAMAV project with Makefile:
--- Code: ---tomb@tomb_localhost ~/projects/aau/virus_scanner/av_scan/example/my_ex1 $ ls
AUTHORS COPYING.unrar NEWS clamav-milter configure libclamav my_ex1.layout
BUGS COPYING.zlib README clamconf configure.in libclamav.pc shared
COPYING ChangeLog UPGRADE clamd contrib libclamav.pc.in sigtool
COPYING.BSD FAQ aclocal.m4 clamdscan database libclamunrar stamp-h1
COPYING.LGPL INSTALL clamav-config clamscan docs libclamunrar_iface target.h
COPYING.bzip2 Makefile clamav-config.h config etc libtool test
COPYING.file Makefile.am clamav-config.h.in config.log examples m4 unit_tests
COPYING.lzma Makefile.in clamav-config.in config.status freshclam my_ex1.cbp
--- End code ---
And Screenshot of my Properties project in CodeBlocks
How can I fix this?
Regards,
Tom
MortenMacFly:
--- Quote from: tomb_unaff on December 03, 2008, 06:37:25 pm ---make: *** No rule to make target `Debug'. Stop.
--- End quote ---
The error message is clear: You called make with the target "Debug" which is not present in your Makefile. ´C::B calls make with the name of the C::B target you are trying to compile. So either you make it available (if you want to debug) or you rename your target in C::B to the name of the target in the Makefile (which I don't know).
tomb_unaff:
Thanks for reply,
OK, I will go for Release target.
Now when I Build Project(Ctrl+F9) I am getting following message:
--- Code: ----------------- Build: Release in cl_release ---------------
Linking stage skipped (build target has no object files to link)
Nothing to be done.
--- End code ---
I don't have too much experiences with Makefile.
Can someone help and tell me what shall I do, what should be change in Makefile to be able to build project?
Here is my Makefile http://codepad.org/EiNZQRgM
Thanks in advance,
Tom
Jenna:
Try to rename your target to "all", that's the first (and therefore the default-)target inside the makefile.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version