1 Star 0 Fork 1

ngtesting/ci_test_cppunit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 562 Bytes
一键复制 编辑 原始数据 按行查看 历史
aaronchen2k 提交于 2020-03-18 13:46 +08:00 . int
######define start#########
#souce code files
SRCS = $(wildcard *.cpp)
#objects files.
OBJS = $(SRCS:.cpp = .o)
#gcc complile
CC = gcc
#g++ complie
CXX = g++
#include folders
INCLUDES = -I/
#include lib folders
LIBS = -L/usr/local/Cellar/cppunit/1.14.0/lib/libcppunit.a
#options
CCFLAGS = -g -Wall -O0 -std=c++11
######define end#########
all : $(OBJS)
$(CXX) $(OBJS) -o main $(INCLUDES) $(LIBS) -lcppunit -ldl
%.o : %.cpp
$(CXX) $(CCFLAGS) -c $< -o $@
clean:
rm -rf *.o
rm -rf main
rm -rf *.log *.xml
.PHONY:clean
######makefile end#########
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ngtesting/ci_test_cppunit.git
git@gitee.com:ngtesting/ci_test_cppunit.git
ngtesting
ci_test_cppunit
ci_test_cppunit
master

搜索帮助