mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-11-14 14:53:28 +01:00
update curl example
This commit is contained in:
1 parent
230f84a9cb
commit
f517643f43
4 files changed
+55
-30
No files matched your search
@@ -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