Rename binary.

This commit is contained in:
yzrh 2020-12-30 15:54:00 +00:00
parent 74a79ac023
commit cb2376a82f
4 changed files with 15 additions and 10 deletions

View file

@ -1,3 +1,8 @@
0.6.2_5 (2020-12-30)
====================
* Rename binary.
0.6.2_4 (2020-12-25) 0.6.2_4 (2020-12-25)
==================== ====================

View file

@ -2,7 +2,7 @@
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
src = main.c collision.c game.c input.c renderer.c src = snake-sdl.c collision.c game.c input.c renderer.c
inc = extern.h game.h input.h renderer.h screen.h version.h inc = extern.h game.h input.h renderer.h screen.h version.h
.ifdef GPIO .ifdef GPIO
@ -31,20 +31,20 @@ CFLAGS += -I/usr/local/include
LDFLAGS += -L/usr/local/lib LDFLAGS += -L/usr/local/lib
all: ${obj} ${inc} all: ${obj} ${inc}
${CC} ${LDFLAGS} -o snake ${obj} ${CC} ${LDFLAGS} -o snake-sdl ${obj}
clean: clean:
rm -f snake ${obj} rm -f snake-sdl ${obj}
install: install:
install -d ${PREFIX}/bin install -d ${PREFIX}/bin
install -d ${PREFIX}/share/snake install -d ${PREFIX}/share/snake-sdl
install snake ${PREFIX}/bin install snake-sdl ${PREFIX}/bin
install -m644 ../contrib/font.ttf ${PREFIX}/share/snake install -m644 ../contrib/font.ttf ${PREFIX}/share/snake-sdl
install -m644 ../contrib/music.flac ${PREFIX}/share/snake install -m644 ../contrib/music.flac ${PREFIX}/share/snake-sdl
deinstall: deinstall:
rm -f ${PREFIX}/bin/snake rm -f ${PREFIX}/bin/snake-sdl
rm -rf ${PREFIX}/share/snake rm -rf ${PREFIX}/share/snake-sdl
.PHONY: all clean install deinstall .PHONY: all clean install deinstall

View file

@ -7,4 +7,4 @@
#define VERSION "0" #define VERSION "0"
#define RELEASE "6" #define RELEASE "6"
#define PATCH "2" #define PATCH "2"
#define EXTRA "_4" #define EXTRA "_5"