diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile index 37533bd..f867d21 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,7 +2,7 @@ # # 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 .ifdef GPIO @@ -31,20 +31,20 @@ CFLAGS += -I/usr/local/include LDFLAGS += -L/usr/local/lib all: ${obj} ${inc} - ${CC} ${LDFLAGS} -o snake ${obj} + ${CC} ${LDFLAGS} -o snake-sdl ${obj} clean: - rm -f snake ${obj} + rm -f snake-sdl ${obj} install: install -d ${PREFIX}/bin - install -d ${PREFIX}/share/snake - install snake ${PREFIX}/bin - install -m644 ../contrib/font.ttf ${PREFIX}/share/snake - install -m644 ../contrib/music.flac ${PREFIX}/share/snake + install -d ${PREFIX}/share/snake-sdl + install snake-sdl ${PREFIX}/bin + install -m644 ../contrib/font.ttf ${PREFIX}/share/snake-sdl + install -m644 ../contrib/music.flac ${PREFIX}/share/snake-sdl deinstall: - rm -f ${PREFIX}/bin/snake - rm -rf ${PREFIX}/share/snake + rm -f ${PREFIX}/bin/snake-sdl + rm -rf ${PREFIX}/share/snake-sdl .PHONY: all clean install deinstall |