创建
This commit is contained in:
24
cache/Makefile
vendored
Normal file
24
cache/Makefile
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
CCC=g++
|
||||
|
||||
INC_PATH=-I./include -I./include/libevent2
|
||||
CFLAGS=-Wall -g $(INC_PATH)
|
||||
LDFLAGS =
|
||||
LIBS = -lMESA_handle_logger -lMESA_htable -lMESA_prof_load -lwiredcfg
|
||||
LIBS += -lssl -lcrypto -lcurl -levent -lxml2
|
||||
|
||||
OBJS = tango_cache_tools.o tango_cache_client.o tango_cache_transfer.o tango_cache_xml.o cache_evbase_client.o
|
||||
|
||||
TARGET_A=pangu_tango_cache.a
|
||||
|
||||
ALL:$(TARGET_A)
|
||||
|
||||
$(TARGET_A):$(OBJS)
|
||||
ar rs $@ $^
|
||||
|
||||
.cpp.o:
|
||||
$(CCC) $(CFLAGS) -c $<
|
||||
|
||||
-include $(DEPS)
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJS) $(DEPS) $(TARGET_A)
|
||||
Reference in New Issue
Block a user