From: sin Date: Tue, 21 Oct 2014 10:21:50 +0000 (+0100) Subject: Use CFLAGS too X-Git-Tag: v1.0~92^2~216 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e776ebe36ce5b7fa7c7ec945af5a884ea4259dd2;p=nnn.git Use CFLAGS too --- diff --git a/Makefile b/Makefile index 3972d846..7cc1ee1d 100644 --- a/Makefile +++ b/Makefile @@ -7,17 +7,17 @@ BIN = noice all: $(BIN) $(BIN): config.h $(OBJ) - $(CC) -o $@ $(OBJ) $(LDLIBS) + $(CC) $(CFLAGS) -o $@ $(OBJ) $(LDLIBS) config.h: @echo copying config.def.h to $@ @cp config.def.h $@ noice.o: noice.c queue.h util.h - $(CC) -c noice.c + $(CC) $(CFLAGS) -c noice.c strlcpy.o: strlcpy.c util.h - $(CC) -c strlcpy.c + $(CC) $(CFLAGS) -c strlcpy.c clean: rm -f $(BIN) $(OBJ)