💾 Archived View for gemini.rmf-dev.com › repo › Vaati › RTetris › files › da4c33dcb5865862f5c0dd1ab8… captured on 2022-07-16 at 17:08:37. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
0 SHELL = /bin/sh
1
2 PREFIX = /usr/local
3 CFLAG = -O2
4 CC = cc
5 INCLUDES = -I/usr/local/include
6 LIBS = -lSDL2 -lm
7 LIBSPATH = -L/usr/local/lib
8
9 rtetris:
10 ${CC} ${CFLAGS} tetris.c ${INCLUDES} ${LIBSPATH} -o $@ ${LIBS}
11
12 install:
13 cp rtetris ${PREFIX}/bin
14 chmod 755 ${PREFIX}/bin/rtetris
15
16 uninstall:
17 rm ${PREFIX}/bin/rtetris
18
19 clean:
20 rm -f rtetris
21
22