💾 Archived View for gemini.rmf-dev.com › repo › Vaati › gmi_proxy › files › 9beb731664d9ae04719e1d03… captured on 2023-09-08 at 16:46:02. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

🚧 View Differences

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

Go Back

0 SHELL = /bin/sh

1

2 PREFIX = /usr/local

3

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

5 LDFLAGS = -ltls -lpthread

6 CC = cc

7 # Uncomment to build on Illumos

8 #LDFLAGS = -ltls -lsocket

9 #CC = gcc

10

11 SRC = src/*.c

12

13 gmi_proxy: src/*

14 ${CC} ${SRC} ${CFLAGS} ${LDFLAGS} -o $@

15

16 install:

17 cp gmi_proxy ${PREFIX}/bin

18 chmod 755 ${PREFIX}/bin/gmi_proxy

19

20 uninstall:

21 rm ${PREFIX}/bin/gmi_proxy

22

23 clean:

24 rm -f gmi_proxy

25