Make

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Mgst

Make

Post by Mgst »

how do I incorporate the make utility into textpad???
I am using the GNU make versin 3.79.1

thanks
mgst
Berend Veldkamp

Re: Make

Post by Berend Veldkamp »

Go to Configure -> Preferences and select 'Tools'. Now click on Add and choose 'Program', browse to make.exe. Click Apply, Make will be added to the Tools in the treeview on the left. Select it, make sure 'Parameters' is empty and 'Initial folder' contains $FileDir. Press OK.
Now whenever you run the Make tool, it will run from the directory of your top-level document.

Berend
Mgst

Re: Make

Post by Mgst »

just that the gcc and libraries wasn't in the path.
i am using cygwin environment.
but fixed it with a simple batch file.

@echo off

path=c:\cygwin\bin;\cygwin\usr\local\bin;%PATH%

make %1

where %1 is the parameters to the makefile.
Post Reply