]>
git.proxmox.com Git - ceph.git/blob - ceph/src/civetweb/examples/_obsolete/chat/Makefile
2 # Copyright (c) 2013 No Face Press, LLC
3 # License http://opensource.org/licenses/mit-license.php MIT License
6 #This makefile is used to test the other Makefiles
13 CIVETWEB_LIB
= libcivetweb.a
14 SSL_CERT
= ssl_cert.pem
16 CFLAGS
= -I
$(TOP
)/include $(COPT
)
19 include $(TOP
)/resources
/Makefile.in-os
21 ifeq ($(TARGET_OS
),LINUX
)
25 all: $(PROG
) $(SSL_CERT
)
27 $(PROG
): $(CIVETWEB_LIB
) $(SRC
)
28 $(CC
) -o
$@
$(CFLAGS
) $(LDFLAGS
) $(SRC
) $(CIVETWEB_LIB
) $(LIBS
)
31 $(MAKE
) -C
$(TOP
) clean lib
32 cp
$(TOP
)/$(CIVETWEB_LIB
) .
35 cp
$(TOP
)/resources
/$(SSL_CERT
) .
38 rm -f
$(CIVETWEB_LIB
) $(PROG
) $(SSL_CERT
)