Fix some error messages

This commit is contained in:
2025-09-21 12:11:07 +02:00
parent c0f21d0ce0
commit 9699ccc98c
11 changed files with 277261 additions and 548 deletions
+22
View File
@@ -0,0 +1,22 @@
FLAGS = -Wall -Wextra -O0 -g3 -I.
ifeq ($(OS),Windows_NT)
EXT = .exe
FLAGS += -lws2_32 -lbcrypt
else
EXT = .out
endif
all: cweb.c cweb.h cozisnews$(EXT)
cweb.c cweb.h:
python amalg.py
sqlite3.o: demo/sqlite3.c
gcc -o $@ -c $<
cozisnews$(EXT): demo/main.c cweb.c cweb.h sqlite3.o
gcc -o $@ demo/main.c cweb.c sqlite3.o $(FLAGS)
clean:
rm *.o *.out *.exe