💾 Archived View for gemini.rmf-dev.com › repo › Vaati › tuimarket › files › e5556a4684577dd22b9ee04d… captured on 2023-04-26 at 13:29:28. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
0 SHELL = /bin/sh
1
2 CC=cc
3 PREFIX=/usr/local
4 CFLAGS=-ansi -Wall -Wextra -std=c89 -pedantic -O2 -D_POSIX_C_SOURCE=200809L
5 LIBS=-s -lm -lcurl -lpthread
6 NAME=tuimarket
7 INCLUDES=-I/usr/local/include
8 LIBSPATH=-L/usr/local/lib
9
10 build: src/*
11 ${CC} ${CFLAGS} src/*.c -o ${NAME} ${INCLUDES} ${LIBSPATH} ${LIBS}
12
13 install:
14 cp ${NAME} ${PREFIX}/bin/
15 chmod 755 ${PREFIX}/bin/${NAME}
16
17 uninstall:
18 rm ${PREFIX}/bin/${NAME}
19
20 clean:
21 rm -f ${NAME}
22