Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
majewsky
on Feb 28, 2018
|
parent
|
context
|
favorite
| on:
The Makefile I use with JavaScript projects
> $(SRC:.c=.o)
I use
$(patsubst %.c,%.o,$(SRC))
instead, which I find easier to remember.
simias
on Feb 28, 2018
[–]
Isn't that a GNU extension? Here's an other problem right there, figure out which dialect of Make you're using and their various quirks and extensions.
wbkang
on Feb 28, 2018
|
parent
[–]
I think you can compile gmake for most platforms.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I use
instead, which I find easier to remember.