This repository has been archived on 2024-07-05. You can view files and clone it, but cannot push or open issues or pull requests.
Infinitum/Makefile
2024-01-16 15:13:11 +01:00

17 lines
308 B
Makefile

all: server
clean:
rm -rf *.o
@rm -rf server
server: main.o httpd.o sqlite3.o
gcc -o server $^ -lssl -lcrypto -I.
sqlite3.o: sqlite3.c
gcc -c -o sqlite3.o sqlite3.c
main.o: main.c httpd.h sqlite3.h
gcc -c -o main.o main.c -lssl -lcrypto -I.
httpd.o: httpd.c httpd.h
gcc -c -o httpd.o httpd.c