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

14 lines
253 B
Makefile
Raw Normal View History

all: server
clean:
2024-01-16 12:43:45 +01:00
rm -rf *.o
@rm -rf server
server: main.o httpd.o
2024-01-16 13:47:50 +01:00
gcc -o server $^ -lssl -lcrypto -lsqlite3 -I.
main.o: main.c httpd.h
2024-01-16 13:47:50 +01:00
gcc -c -o main.o main.c -lssl -lcrypto -sqlite3 -I.
httpd.o: httpd.c httpd.h
2024-01-16 12:43:45 +01:00
gcc -c -o httpd.o httpd.c