From 442a49ad5a48d417345959b903ae6a6d32d55759 Mon Sep 17 00:00:00 2001 From: Haidong Ji Date: Fri, 15 Apr 2022 15:51:30 -0500 Subject: Great C programming fun Excellent fundamentals and displine training, many tools and techniques exercises: gdb, emacs, valgrind, git --- 32_kvs/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 32_kvs/Makefile (limited to '32_kvs/Makefile') diff --git a/32_kvs/Makefile b/32_kvs/Makefile new file mode 100644 index 0000000..38f5d54 --- /dev/null +++ b/32_kvs/Makefile @@ -0,0 +1,12 @@ +CFLAGS=-Wall -Werror -std=gnu99 -pedantic -ggdb3 +OBJS=kv_test.o kv.o +PROGRAM=kv_test + +$(PROGRAM): $(OBJS) + gcc $(CFLAGS) -o $@ $(OBJS) + +%.o: %.c kv.h + gcc -c $(CFLAGS) $< + +clean: + rm -f $(OBJS) $(PROGRAM) *~ -- cgit v1.2.3