1 #***************************************************************************
3 # Project ___| | | | _ \| |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
8 # Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
10 # This software is licensed as described in the file COPYING, which
11 # you should have received as part of this distribution. The terms
12 # are also available at http://curl.haxx.se/docs/copyright.html.
14 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 # copies of the Software, and permit persons to whom the Software is
16 # furnished to do so, under the terms of the COPYING file.
18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 # KIND, either express or implied.
21 ###########################################################################
23 # What to call the final executable
26 # Which object files that the executable consists of
29 # What compiler to use
32 # Compiler flags, -g for debug, -c to make an object file
35 # This should point to a directory that holds libcurl, if it isn't
36 # in the system's standard lib dir
37 # We also set a -L to include the directory where we have the openssl
39 LDFLAGS = -L/home/dast/lib -L/usr/local/ssl/lib
41 # We need -lcurl for the curl stuff
42 # We need -lsocket and -lnsl when on Solaris
43 # We need -lssl and -lcrypto when using libcurl with SSL support
44 # We need -lpthread for the pthread example
45 LIBS = -lcurl -lsocket -lnsl -lssl -lcrypto
47 # Link the target with all objects and libraries
49 $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)
51 # Compile the source files into object files