From 7667c7d7d7473b41c3065cd8fbdb291b45d69fe7 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Feb 2019 15:48:56 -0500 Subject: add cflags to link command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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) $< -- cgit v1.2.3