Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > ModelSim 'vmake' and bash is not generating properly formatted Makefile

Thread Tools

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

BlackHelicopter BlackHelicopter is offline
Junior Member
Join Date: Jun 2010
Posts: 14
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?

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 by BlackHelicopter; 09-16-2013 at 01:36 AM..
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
send gpg encrypted emails (properly mime formatted) Neal Becker Python 1 05-01-2008 08:38 PM
RADIUS packet not properly formatted =?Utf-8?B?QW5keSBU?= Wireless Networking 0 06-01-2007 03:44 PM
OT: How to call a bash function within a makefile OnMyWayHome C++ 1 11-12-2005 01:35 AM
(patch for Bash) GTK+2 + Bash William Park XML 3 07-14-2005 12:09 AM
displaying properly formatted output of ipconfig.exe Joe Flynt Python 5 11-09-2003 11:37 PM