Sublime Forum

Sublime Build System Working Directory

#1

Hello all,

I am trying to setup a build system, so it will run a makefile in the current file directory + directory name, however I cannot figure out how to to do!

Example

C:/Eric/Program/main.c - This is the directory of the file I am editing
C:/Eric/Program/gcc/Makefile - This is the directory of the Makefile I want to run

In my build system, I have the following

“working_dir”: "${file_path}

However I would like it to do the following
“working_dir”: ${file_path} + gcc

Thanks!

0 Likes