diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-02-02 03:25:59 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-02-02 03:25:59 -0500 |
commit | a3792d8769d2dc8ee0abae758c6fae3a35b5dfbc (patch) | |
tree | 079d372fb69cabfe6dded99f231408c8b13022cd /Makefile | |
parent | bf8f5126a6d621be4996df842c70d60297f87706 (diff) | |
download | kmeans-a3792d8769d2dc8ee0abae758c6fae3a35b5dfbc.tar.bz2 kmeans-a3792d8769d2dc8ee0abae758c6fae3a35b5dfbc.zip |
add km_search()
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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) $< |