This repository has been archived on 2025-07-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ossp/firewall-server/Makefile
2023-10-30 14:49:03 +00:00

19 lines
296 B
Makefile

CFLAGS = -Wall -Werror -g -fdiagnostics-color=always
TARGETS = server client
.PHONY: all clean
all: $(TARGETS)
server: server.o
$(CC) $(CFLAGS) -o server server.o -lpthread
client: client.o
$(CC) $(CFLAGS) -o client client.o
%.o: %.c
$(CC) -c $(CFLAGS) $<
clean:
rm -f *.o $(TARGETS)