aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-02-03 15:48:56 -0500
committerPaul Duncan <pabs@pablotron.org>2019-02-03 15:48:56 -0500
commit7667c7d7d7473b41c3065cd8fbdb291b45d69fe7 (patch)
tree9bae14e19cb413cea66f9b7b1d25d70e018fb968 /Makefile
parenta30b8be1ede707f417df6afa5736f6fb75124588 (diff)
downloadkmeans-7667c7d7d7473b41c3065cd8fbdb291b45d69fe7.tar.bz2
kmeans-7667c7d7d7473b41c3065cd8fbdb291b45d69fe7.zip
add cflags to link command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b3ee253..9415e83 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ LIBS=-lm
all: $(APP)
$(APP): $(OBJS)
- $(CC) -o $(APP) $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) -o $(APP) $(OBJS) $(LIBS)
%.o: %.c
$(CC) -c $(CFLAGS) $<