From a3792d8769d2dc8ee0abae758c6fae3a35b5dfbc Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 2 Feb 2019 03:25:59 -0500 Subject: add km_search() --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3873d7b..d3e0254 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ +APP=km-test CFLAGS=-W -Wall -Wextra -pedantic -std=c11 -O2 -OBJS=km.o +OBJS=km.o main.o +LIBS=-lm -all: $(OBJS) +.PHONY=all clean +app: $(APP) + +$(APP): $(OBJS) + $(CC) -o $(APP) $(OBJS) $(LIBS) %.o: %.c $(CC) -c $(CFLAGS) $< -- cgit v1.2.3