Loading docs/examples/Makefile.example +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ LIBS = -lcurl -lsocket -lnsl -lssl -lcrypto -dl # Link the target with all objects and libraries $(TARGET) : $(OBJS) $(CC) $(LDFLAGS) $(LIBS) -o $(TARGET) $(OBJS) $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS) # Compile the source files into object files ftpget.o : ftpget.c Loading docs/examples/README +5 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,11 @@ Most examples should build fine using a command line like this: $ `curl-config --cc --cflags --libs` -o example example.c Some compilers don't like having the arguments in this order but instead want you do reorganize them like: $ `curl-config --cc` -o example example.c `curl-config --cflags --libs` *PLEASE* do not use the curl.haxx.se site as a test target for your libcurl applications/experiments. Even if the examples in this directory use that site as an example URL at some places, it doesn't mean that the URLs work or that Loading Loading
docs/examples/Makefile.example +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ LIBS = -lcurl -lsocket -lnsl -lssl -lcrypto -dl # Link the target with all objects and libraries $(TARGET) : $(OBJS) $(CC) $(LDFLAGS) $(LIBS) -o $(TARGET) $(OBJS) $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS) # Compile the source files into object files ftpget.o : ftpget.c Loading
docs/examples/README +5 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,11 @@ Most examples should build fine using a command line like this: $ `curl-config --cc --cflags --libs` -o example example.c Some compilers don't like having the arguments in this order but instead want you do reorganize them like: $ `curl-config --cc` -o example example.c `curl-config --cflags --libs` *PLEASE* do not use the curl.haxx.se site as a test target for your libcurl applications/experiments. Even if the examples in this directory use that site as an example URL at some places, it doesn't mean that the URLs work or that Loading