💾 Archived View for gemini.rmf-dev.com › repo › Vaati › RouterMonitor › files › 4cd74801d1c1a73179b5… captured on 2023-04-19 at 23:40:04. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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