You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
690 B

CC = gcc
CFLAGS = -Wall -c -o
LDFLAGS = -Wall -lcrypt -o
EXE = userv
RM = rm -f
OBJECTS = main.o data.o networking.o misc.o common.o logging.o signal.o context.o
all: $(OBJECTS)
main.o: main.c
$(CC) $(CFLAGS) main.o main.c
data.o: data.c
$(CC) $(CFLAGS) data.o data.c
networking.o: networking.c
$(CC) $(CFLAGS) networking.o networking.c
misc.o: misc.c
$(CC) $(CFLAGS) misc.o misc.c
common.o: common.c
$(CC) $(CFLAGS) common.o common.c
logging.o: logging.c
$(CC) $(CFLAGS) logging.o logging.c
signal.o: signal.c
$(CC) $(CFLAGS) signal.o signal.c
context.o: context.c
$(CC) $(CFLAGS) context.o context.c