aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar sin <sin@2f30.org>2014-10-21 11:21:50 +0100
committerGravatar sin <sin@2f30.org>2014-10-21 11:21:50 +0100
commite776ebe36ce5b7fa7c7ec945af5a884ea4259dd2 (patch)
tree2c2b9f599e51ee1a811568a7676f9e30b0bb2966 /Makefile
parenta13096b773fac95b5fa3757edbf925566e68326b (diff)
downloadnnn-e776ebe36ce5b7fa7c7ec945af5a884ea4259dd2.tar.gz
Use CFLAGS too
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3972d84..7cc1ee1 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)