Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Compiling the server
➜ Compile into area folder
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Whisperedecho
USA (51 posts) Bio
|
Date
| Sat 17 May 2008 12:06 AM (UTC) |
Message
| I want to change the makefile so that it generates smaug.exe and the DNS resolver to the smaugfuss area folder instead of the src folder.
I have tried changing different things in the Makefile and have tried looking at tutorials online but can't seem to get it to work.
Can someone help me? | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 17 May 2008 06:49 AM (UTC) |
Message
| The simplest way of achieving that is to not do it, but to simply change to the area folder and type:
What that does is make a "soft link" between the file smaug.exe in the src folder and the current folder.
Now if you type "ls -l smaug*" you see:
lrwxrwxrwx 1 nick nick 12 May 17 16:47 smaug -> ../src/smaug
That means you can run smaug from this directory (you would need to type ./smaug) but it actually picks it up from the linked directory. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
9,684 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top