💾 Archived View for gemini.rmf-dev.com › repo › Vaati › mz › files › 79b9459add5578e6c4d7a0ab62e70c4… captured on 2023-01-29 at 17:35:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

0 SHELL = /bin/sh

1

2 PREFIX = /usr/local

3 CFLAGS = -ansi -Wall -Wextra -std=c89 -pedantic -O2 -D_POSIX_C_SOURCE=200809L

4 CC = cc

5 LIBS = -s -lm

6

7 build: src/*

8 ${CC} ${CFLAGS} src/main.c src/file.c src/strlcpy.c \

9 src/view.c src/client.c src/termbox.c \

10 ${INCLUDES} ${LIBSPATH} \

11 -o mz ${LIBS}

12

13 install:

14 cp mz ${PREFIX}/bin/

15 chmod 755 ${PREFIX}/bin/mz

16

17 uninstall:

18 rm ${PREFIX}/bin/mz

19

20 clean:

21 rm -f mz

22