update curl example

This commit is contained in:
Juraj Michalek
2019-05-05 21:27:34 +02:00
parent 230f84a9cb
commit f517643f43
4 changed files with 55 additions and 30 deletions

15
curl/Makefile Normal file
View File

@@ -0,0 +1,15 @@
OBJ = download.o
LDADD = -lcurl
download: $(OBJ)
${CC} ${OBJ} -o download ${LDADD}
.c.o:
${CC} ${CFLAGS} -c $<
clean:
rm -f test *.o