fix(Makefile): CGI script path

This commit is contained in:
Tom MTT. 2022-11-21 10:54:53 +01:00
parent 99b8f81f67
commit 2abefcda5c

View file

@ -50,11 +50,11 @@ $(TARGET).1: $(TARGET).1.md
ADDR = 127.0.0.1 ADDR = 127.0.0.1
PORT = 8888 PORT = 8888
cgi: web/cgi/feuille.cgi cgi: cgi/feuille.cgi
web/cgi/feuille.cgi: web/cgi/feuille.cgi.c cgi/feuille.cgi: cgi/feuille.cgi.c
@printf "%-8s web/cgi/feuille.cgi.c -o $@\n" "$(CC)" @printf "%-8s cgi/feuille.cgi.c -o $@\n" "$(CC)"
@$(CC) $(CFLAGS) $(LDFLAGS) -static -DADDR=\"$(ADDR)\" -DPORT=$(PORT) web/cgi/feuille.cgi.c -o $@ @$(CC) $(CFLAGS) $(LDFLAGS) -static -DADDR=\"$(ADDR)\" -DPORT=$(PORT) cgi/feuille.cgi.c -o $@
.SUFFIXES: .c .o .SUFFIXES: .c .o
.c.o: .c.o: