20 lines
471 B
Makefile
20 lines
471 B
Makefile
|
|
|
|
all: release
|
|
@echo make install
|
|
|
|
install: release
|
|
mkdir -p /opt/yellownotes
|
|
cp build/release/yellownotes *.svg *.png /opt/yellownotes
|
|
|
|
release: build/release/yellownotes
|
|
|
|
build/release/yellownotes: exe_path.cpp gtk-imports.c gtkloader.cpp main.cpp tr.cpp yellownotes.cpp utils/whereami.c \
|
|
exe_path.h gtk-imports.h gtkloader.h tr.h yellownotes.h utils/whereami.h
|
|
cmake -S . -B build/release
|
|
cmake --build build/release --target all
|
|
|
|
|
|
clean:
|
|
rm -rf build/release
|