💾 Archived View for gemini.rmf-dev.com › repo › Vaati › gmi_proxy › files › 209263b639782ab25d867487… captured on 2023-12-28 at 15:53:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

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

Go Back

0 SHELL = /bin/sh

1

2 PREFIX = /usr/local

3

4 CFLAGS = -I/usr/local/include -ansi -std=c89 -pedantic -Wall -Wextra -O2 \

5 -D_POSIX_C_SOURCE=200809L

6 LDFLAGS = -L/usr/local/lib -ltls -lcrypto -lssl -lpthread

7 CC = cc

8 # Uncomment to build on Illumos

9 #LDFLAGS = -ltls -lsocket

10 #CC = gcc

11

12 SRC = src/*.c

13

14 gmi_proxy: src/*

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

16

17 install:

18 cp gmi_proxy ${PREFIX}/bin

19 chmod 755 ${PREFIX}/bin/gmi_proxy

20

21 uninstall:

22 rm ${PREFIX}/bin/gmi_proxy

23

24 clean:

25 rm -f gmi_proxy

26