Fix issues in demo templates

This commit is contained in:
2025-09-26 13:03:44 +02:00
committed by cozis
parent e50dfd518b
commit 783c0d22b8
25 changed files with 16242 additions and 16238 deletions
+25 -25
View File
@@ -1,25 +1,25 @@
FLAGS = -Wall -Wextra -O0 -g3 -I.
ifeq ($(OS),Windows_NT)
EXT = .exe
FLAGS += -lws2_32 -lbcrypt
else
EXT = .out
endif
all: cweb.h cozisnews$(EXT)
cweb.h: src/main.c src/main.h
python amalg.py
cweb.o: cweb.c
gcc $< -o $@ -I3p
sqlite3.o: 3p/sqlite3.c
gcc -c -o $@ $<
cozisnews$(EXT): demo/main.c sqlite3.o
gcc -o $@ demo/main.c sqlite3.o $(FLAGS) -I3p
clean:
rm *.o *.out *.exe
FLAGS = -Wall -Wextra -O0 -g3 -I.
ifeq ($(OS),Windows_NT)
EXT = .exe
FLAGS += -lws2_32 -lbcrypt
else
EXT = .out
endif
all: cweb.h cozisnews$(EXT)
cweb.h: src/main.c src/main.h
python amalg.py
cweb.o: cweb.c
gcc $< -o $@ -I3p
sqlite3.o: 3p/sqlite3.c
gcc -c -o $@ $<
cozisnews$(EXT): demo/main.c sqlite3.o
gcc -o $@ demo/main.c sqlite3.o $(FLAGS) -I3p
clean:
rm *.o *.out *.exe