Makefile 474 B

123456789101112131415161718192021222324
  1. CC=cc
  2. CFLAGS= -g -I../../include
  3. #LIBS= -L../.. -lcrypto -lssl
  4. LIBS= -L../.. ../../libssl.a ../../libcrypto.a
  5. # the file conn.c requires a file "proxy.h" which I couldn't find...
  6. #EXAMPLES=base64 conn loadrsa
  7. EXAMPLES=base64 loadrsa
  8. all: $(EXAMPLES)
  9. base64: base64.o
  10. $(CC) -o base64 base64.o $(LIBS)
  11. #
  12. # sorry... can't find "proxy.h"
  13. #conn: conn.o
  14. # $(CC) -o conn conn.o $(LIBS)
  15. loadrsa: loadrsa.o
  16. $(CC) -o loadrsa loadrsa.o $(LIBS)
  17. clean:
  18. rm -f $(EXAMPLES) *.o