mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
24 lines
396 B
Makefile
24 lines
396 B
Makefile
#CPPFLAGS += -DDEBUG
|
|
#CFLAGS += -g
|
|
LDLIBS = -lncursesw
|
|
OBJ = noice.o strlcpy.o
|
|
BIN = noice
|
|
|
|
all: $(BIN)
|
|
|
|
$(BIN): config.h $(OBJ)
|
|
$(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) $(CFLAGS) $(CPPFLAGS) -c noice.c
|
|
|
|
strlcpy.o: strlcpy.c util.h
|
|
$(CC) $(CFLAGS) -c strlcpy.c
|
|
|
|
clean:
|
|
rm -f $(BIN) $(OBJ)
|