mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-17 09:06:49 +01:00
update curl example
This commit is contained in:
15
curl/Makefile
Normal file
15
curl/Makefile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user