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

17 lines
326 B
Makefile
Raw Normal View History

all: server
clean:
2024-01-16 12:43:45 +01:00
rm -rf *.o
@rm -rf server
2024-01-16 14:34:34 +01:00
server: main.o httpd.o sqlite3.o
gcc -o server $^ -lssl -lcrypto -I.
2024-01-16 14:34:34 +01:00
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
2024-01-16 12:43:45 +01:00
gcc -c -o httpd.o httpd.c