1 #############################################################################
3 # Project ___| | | | _ \| |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
10 # What to call the final executable
13 # Which object files that the executable consists of
16 # What compiler to use
19 # Compiler flags, -g for debug, -c to make an object file
22 # This should point to a directory that holds libcurl, if it isn't
23 # in the system's standard lib dir
24 # We also set a -L to include the directory where we have the openssl
26 LDFLAGS = -L/home/dast/lib -L/usr/local/ssl/lib
28 # We need -lcurl for the curl stuff
29 # We need -lsocket and -lnsl when on Solaris
30 # We need -lssl and -lcrypto when using libcurl with SSL support
31 # We need -lpthread for the pthread example
32 LIBS = -lcurl -lsocket -lnsl -lssl -lcrypto
34 # Link the target with all objects and libraries
36 $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)
38 # Compile the source files into object files