WIP/cpp -> next #31

已關閉
crtxcr 請求將 16 次提交從 WIP/cpp 合併至 next
共有 6 個檔案被更改,包括 409 行新增52 行删除
僅顯示提交 c57ba807d7 的變更 - 顯示所有提交

查看文件

@ -3,19 +3,21 @@ bindir = $(prefix)/bin
CFLAGS = -std=c99 -Wall -Wextra -pedantic CFLAGS = -std=c99 -Wall -Wextra -pedantic
CXXFLAGS = -std=c++20 -Wall -Wextra -pedantic CXXFLAGS = -std=c++20 -Wall -Wextra -pedantic
.DEFAULT_GOAL := test .DEFAULT_GOAL := tests
clean: clean:
rm -f test testcpp rm -f test testcpp
test: test.c test: test.c exile.h
$(CC) test.c -g $(CFLAGS) -o test $(CC) test.c -g $(CFLAGS) -o test
testcpp: test.cpp testcpp: test.cpp exile.h exile.hpp
$(CXX) test.cpp -g $(CXXFLAGS) -o testcpp $(CXX) test.cpp -g $(CXXFLAGS) -o testcpp
check: test tests: test testcpp
check: tests
./test.sh ./test.sh
.PHONY: check .PHONY: check