2 Star 8 Fork 7

yangchen / CSTL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 630 Bytes
一键复制 编辑 原始数据 按行查看 历史
XD.Yang 提交于 2016-01-23 22:04 . c stl
CC = gcc
CFLAGS = -g -Wall -I. -I./include
LDFLAGS =
BIN = tstl2cl
LIBBIN = libtstl2cl.a
OBJS = c_algo.o c_function.o c_list.o c_memory.o c_vector.o c_pair.o c_tree.o c_set.o c_map.o test/t_main.o \
test/t_list.o test/t_vector.o test/t_tree.o test/t_map.o test/t_set.o \
c_queue.o c_stack.o test/t_queue.o test/t_stack.o c_iterator.o test/t_algo.o
LIBOBJS = c_algo.o c_function.o c_list.o c_memory.o c_vector.o c_pair.o c_tree.o c_set.o c_map.o \
c_queue.o c_stack.o c_iterator.o
all: $(BIN)
$(BIN): $(OBJS)
$(CC) $^ -o $@
lib: $(LIBOBJS)
$(AR) rcs $(LIBBIN) $^
ranlib $(LIBBIN)
clean:
$(RM) *.o ./test/*.o $(BIN)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/ycsoft/CSTL.git
git@gitee.com:ycsoft/CSTL.git
ycsoft
CSTL
CSTL
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891