💾 Archived View for gemini.rmf-dev.com › repo › Vaati › RouterMonitor › files › 4cd74801d1c1a73179b5… captured on 2023-12-28 at 15:40:50. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

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

Go Back

0 SHELL = /bin/sh

1

2 PREFIX = /usr/local

3 CFLAGS = -static -Wall -Wextra -pedantic -O2

4 CC = cc

5

6 rtmonitor: main.c config.h

7 ${CC} ${CFLAGS} main.c -o $@

8

9 install:

10 cp rtmonitor ${PREFIX}/bin

11 chmod 755 ${PREFIX}/bin/rtmonitor

12

13 uninstall:

14 rm ${PREFIX}/bin/rtmonitor

15

16 clean:

17 rm -f rtmonitor

18