Y
Hacker News
new
|
ask
|
show
|
jobs
by
chungy
868 days ago
It might be even easier this way:
$ curl https://ifconfig.me --libcurl ip_fetcher.c $ make LDFLAGS=-lcurl ip_fetcher $ ./ip_fetcher
(I just find make a heck of a lot easier than running direct cc commands)
1 comments
undecisive
867 days ago
TIL - I have never used make without a Makefile! Thank you!
link