фиксы

This commit is contained in:
2026-07-24 02:02:37 +08:00
parent f93e2e8372
commit 349ea7e91e
6 changed files with 75 additions and 163 deletions

23
Makefile Normal file
View File

@@ -0,0 +1,23 @@
# Makefile для Trashbox CGI
CC = gcc
CFLAGS = -Wall -Wextra -O2
TARGETS = index.cgi style.cgi status.cgi
all: $(TARGETS)
index.cgi: index.c
$(CC) $(CFLAGS) -o $@ $<
style.cgi: style.c
$(CC) $(CFLAGS) -o $@ $<
status.cgi: status.c
$(CC) $(CFLAGS) -o $@ $<
clean:
rm -f $(TARGETS)
install: all
chmod +x $(TARGETS)
.PHONY: all clean install