Coder's Guild Mailing List

Makefile - Frank

Posted by Steve Hawkinson on 1999-08-16

> Okay what I need to do is get the $HOME evironment
> path and then create a directory there. How can I do
> this in a makefile?
> 
I think you can just use the HOME environment variable in the makefile.
Try this:

install:
	- mkdir $(HOME)/.sapphire

Just replace all of your ~ with $(HOME)

	Steve