Black February 2016

Quicker Way to Compile Long Arguments

I want to know if there is a quicker way to compile long lines of arguements

Example:

 gcc -std=c99 -Iheaders folder/file.c folder/file2.c folder/file3.c

I want to input this line with a shortcut (not Ctrl V)

Example if i were to type in a certain word:

 compilefile

It would function the same as the gcc code listed above on command line.

Answers


Marlene February 2016

Absolutely! Makefiles are your friend.

Post Status

Asked in February 2016
Viewed 2,195 times
Voted 8
Answered 1 times

Search




Leave an answer