slows/Makefile

18 lines
286 B
Makefile
Raw Permalink Normal View History

2024-11-06 14:44:39 -05:00
CC=gcc
CFLAGS=-Wall -Wextra -ggdb -std=gnu99
SRC=arith.c circ.c client.c hosts.c parse.c pre.c online.c msg.c com.c
OBJ=$(SRC:.c=.o)
LIBS=-lcrypto
all: client
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) $*.c
client: $(OBJ)
$(CC) $(LIBS) -o slows $(OBJ)
clean:
rm -f *.o slows