1 #############################################################################
3 # Project ___| | | | _ \| |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
11 # What to call the final executable
14 # Which object files that the executable consists of
17 # What compiler to use
20 # Compiler flags, -g for debug, -c to make an object file
23 # This should point to a directory that holds libcurl, if it isn't
24 # in the system's standard lib dir
25 # We also set a -L to include the directory where we have the openssl
27 LDFLAGS = -L/home/dast/lib -L/usr/local/ssl/lib
29 # We need -lcurl for the curl stuff
30 # We need -lsocket and -lnsl when on Solaris
31 # We need -lssl and -lcrypto when using libcurl with SSL support
32 # We need -ldl for dlopen() if that is in libdl
33 LIBS = -lcurl -lsocket -lnsl -lssl -lcrypto -dl
35 # Link the target with all objects and libraries
37 $(CC) $(LDFLAGS) $(LIBS) -o $(TARGET) $(OBJS)
39 # Compile the source files into object files