Cygwin make and packages in PATH
source link: https://www.codesd.com/item/cygwin-make-and-packages-in-path.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Cygwin make and packages in PATH
I'm trying to run cygwin packages from a command prompt in windows within a makefile. I manually put the cygwin packages that need in separate folder added them to the PATH environment variable. I able to execute the packages straight from the command line and they all work as intended, but when I add the bash line to the makefile (example: "rm -f file.o"), it just straight echos it back when I run 'make clean' and doesn't execute rm even though it works from the command.
Anyone have an idea as to why it's not working from within the make file?
edit: here is the part of the code
.PHONY: clean
# Other Targets
clean:
xargs -a rm.txt rm -f
banner -c @ done
If it runs inside bash, why don't you call "bash.exe -c make"?
Related Articles
How can I use GruntFile.coffee and package.json to extract / make / recover / ?? the example files Lungo.js?
cygwin and windows git - path confusion
Installing the Perl module on cygwin (make failed)
PhoneGap for Symbian - & ldquo; make & rdquo; package fail
How to configure a & ldquo; Module & rdquo; Order in unix to add a software package to $ PATH?
What is the difference between make and gcc?
How to create and resolve relative paths?
Automatically edit Javascript and CSS file paths
How to display a file system tree to the user be able to click and select a path?
How to save the file path in the database and display the path in the detail page
Magento - Change the skin and package in DataBase
DevOps for ASP.NET MVC: Run a web.config transformation in a separate step, after build and package
Make | And & amp; Do you make sense in java?
Relationship between the critical path and the longest path
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK