💾 Archived View for gemini.rmf-dev.com › repo › Vaati › mz › files › c5b635a66dd150c3caa755fab8d88a6… captured on 2023-09-08 at 16:43:23. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-07-22)

🚧 View Differences

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

Go Back

0 SHELL = /bin/sh

1

2 CC=cc

3 PREFIX=/usr/local

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

5 LIBS=-s -lm

6

7 # uncomment to build on Illumos

8 #CFLAGS=-Wall -Wextra -pedantic -O2 -Wformat-truncation=0

9 #CC=gcc

10

11 build: src/*

12 ${CC} ${CFLAGS} src/*.c ${INCLUDES} ${LIBSPATH} -o mz ${LIBS}

13

14 install:

15 cp mz ${PREFIX}/bin/

16 chmod 755 ${PREFIX}/bin/mz

17

18 uninstall:

19 rm ${PREFIX}/bin/mz

20

21 clean:

22 rm -f mz

23