mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Use CFLAGS too
This commit is contained in:
parent
a13096b773
commit
e776ebe36c
6
Makefile
6
Makefile
|
@ -7,17 +7,17 @@ BIN = noice
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
|
|
||||||
$(BIN): config.h $(OBJ)
|
$(BIN): config.h $(OBJ)
|
||||||
$(CC) -o $@ $(OBJ) $(LDLIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJ) $(LDLIBS)
|
||||||
|
|
||||||
config.h:
|
config.h:
|
||||||
@echo copying config.def.h to $@
|
@echo copying config.def.h to $@
|
||||||
@cp config.def.h $@
|
@cp config.def.h $@
|
||||||
|
|
||||||
noice.o: noice.c queue.h util.h
|
noice.o: noice.c queue.h util.h
|
||||||
$(CC) -c noice.c
|
$(CC) $(CFLAGS) -c noice.c
|
||||||
|
|
||||||
strlcpy.o: strlcpy.c util.h
|
strlcpy.o: strlcpy.c util.h
|
||||||
$(CC) -c strlcpy.c
|
$(CC) $(CFLAGS) -c strlcpy.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(BIN) $(OBJ)
|
rm -f $(BIN) $(OBJ)
|
||||||
|
|
Loading…
Reference in a new issue