您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

34 行
698 B

CXX = clang++
CXXFLAGS = --std=c++17 -O3 -Iinclude
USE_THREADS = -pthread
USE_FILESYSTEM = -lc++fs
USE_SDL = -lSDL2
all: build
build: pomodoro unix
unix: yes
clean: clean_pomodoro
dirs:
@mkdir -p ./build/bin
pomodoro: dirs
$(CXX) $(CXXFLAGS) $(USE_SDL) $(USE_THREADS) src/pomodoro/pomodoro.cpp -o ./build/bin/pomodoro_view
clean_pomodoro:
-@rm ./build/bin/pomodoro_view
yes: dirs
$(CXX) $(CXXFLAGS) src/yes/yes.cpp -o ./build/bin/yes
yes_clean:
-@rm ./build/bin/yes
astyle:
astyle --style=bsd --align-reference=type --align-pointer=type --break-blocks --indent-namespaces --indent=tab --add-brackets \
include/rigid_paradise/*.h \
src/pomodoro/pomodoro.cpp \
src/yes/yes.cpp \