💾 Archived View for gemini.rmf-dev.com › repo › Vaati › RXTetris › files › 90c1069fa80b04659c6e73a07… captured on 2022-07-16 at 17:11:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

0 SHELL = /bin/sh

1

2 PREFIX = /usr

3 CFLAG = -O2

4 CC = cc

5 LIBS = -lX11 -lm

6

7 # FreeBSD

8 #PREFIX = /usr/local

9 #LIBSPATH = -L/usr/local/lib

10 #INCLUDES = -I/usr/local/include

11

12 # OpenBSD

13 #PREFIX = /usr/local

14 #LIBSPATH = -L/usr/X11R6/lib

15 #INCLUDES = -I/usr/X11R6/include

16

17 rxtetris: tetris.c config.h

18 ${CC} ${CFLAGS} tetris.c ${INCLUDES} ${LIBSPATH} -o $@ ${LIBS}

19

20 install:

21 cp rxtetris ${PREFIX}/bin

22 chmod 755 ${PREFIX}/bin/rxtetris

23

24 uninstall:

25 rm ${PREFIX}/bin/rxtetris

26

27 clean:

28 rm -f rxtetris