Tyding up

This commit is contained in:
2024-06-24 23:56:39 +02:00
parent 017d021824
commit 39263eabfc
3 changed files with 68 additions and 0 deletions

View File

@ -1,6 +1,8 @@
.PHONY: all clean run
VERSION = 0.0.1
PREFIX=/usr/local
LIBS = sdl2 glew
CMACRO = -DVERSION=\"$(VERSION)\"
@ -20,6 +22,9 @@ clean:
rm -f *.o
rm -f zoomer
install: zoomer
install -Dm755 $< $(DESTDIR)$(PREFIX)/bin/$<
bear: clean
bear -- make