ModelSim 'vmake' and bash is not generating properly formatted Makefile

Joined
Jun 3, 2010
Messages
14
Reaction score
0
I'm running into an issue with generating a Makefile from ModelSim

I start by running:
$ vmake > Makefile

And find that the resulting Makefile is not properly formatted. Instead of lines starting with a tab, lines start with 4 spaces.

Then when I try to run it using:
$ make -f Makefile

I get output saying
**make: Nothing to be done for `whole_library'.**

Then if I fix up the makefile it works. So I'm not quite sure if this is a problem with 'vmake', bash, or linux?

Anyone know what might be causing this or how to fix it?


**Update**
I might be an idiot and didn't clean out the .dat files out of the compilation library directory first. I think that's why I got the.. "Nothing to be done for 'whole_library'" error.

In the Emacs vhdl-mode makefile generator I noticed it creates a command called 'clean' to remove the .dat files. I must need to do this first.

Sorry I'm new to this sort of thing and am trying to learn my way around.

**Update 2**
Apparently if I don't modify any of the vhdl files I get the same thing. So I've seen that I need to use the touch' cmd in linux to update the files.
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top