25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
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 \