From d5f4022408249c5a513ae795b7b360854bd75a6c Mon Sep 17 00:00:00 2001 From: nirav Date: Thu, 19 Sep 2019 15:36:02 +0000 Subject: Update --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a989775..9debc82 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,20 @@ +.POSIX: + CC=cc CFLAGS=-ansi -Wall -Wextra -pedantic all: gopherd -OBJ=main.o log.o +SRC=main.c log.c gopher.c +OBJ=$(SRC:.c=.o) gopherd: $(OBJ) $(CC) -o $@ $(OBJ) +tags: $(SRC) + ctags $(SRC) + clean: - rm -f gopherd *.o + rm -f gopherd + rm -f tags + rm -f *.o -- cgit v1.2.3