Update Makefile
Opened this issue · 6 comments
sambhav2612 commented
The current makefile is not working correctly. The intention of the script is to compile all .cpp
files in every sub-directory from the root of the project. This is the output I'm currently getting in WIndows 10 with Cygwin environment:
$ make all
g++ -g -O -Wall ./ch1-introduction ./ch10-sorting ./ch2-recursion-and-backtracking ./ch3-linked-lists ./ch4-stacks ./ch5-queues ./ch6-trees ./codechef/arrays -o all
./ch1-introduction: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 1
Please send PR to the update-makefile
branch!
sambhav2612 commented
I was using wildcard functions to accomplish the same, however, any different approach is more than welcome!
P.S. For reference - https://stackoverflow.com/questions/14028268/proper-method-for-wildcard-targets-in-gnu-make
piba941 commented
@sambhav2612 i would like to take up this issue.
sambhav2612 commented
Sure, go ahead @piba941!
satyamroy001 commented
Any issues for me @sambhav2612 please tell me
sambhav2612 commented
@satyamroy001 sure go ahead!
satyamroy001 commented
I have made the pull check it out
…On Mon, 7 Oct 2019, 12:31 pm Sambhav Jain, ***@***.***> wrote:
@satyamroy001 <https://github.com/satyamroy001> sure go ahead!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AK4PZFRYPCTZGWLGPAP5HODQNLNE5A5CNFSM4FILG5P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAPG54A#issuecomment-538865392>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AK4PZFV2EK6CAOPEMY2KTRDQNLNE5ANCNFSM4FILG5PQ>
.