My build of nnn with minor changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 anni fa
10 anni fa
10 anni fa
10 anni fa
10 anni fa
10 anni fa
10 anni fa
10 anni fa
1234567891011121314151617181920212223
  1. #CPPFLAGS += -DDEBUG
  2. #CFLAGS += -g
  3. LDLIBS = -lncursesw
  4. OBJ = noice.o strlcpy.o
  5. BIN = noice
  6. all: $(BIN)
  7. $(BIN): config.h $(OBJ)
  8. $(CC) $(CFLAGS) -o $@ $(OBJ) $(LDLIBS)
  9. config.h:
  10. @echo copying config.def.h to $@
  11. @cp config.def.h $@
  12. noice.o: noice.c queue.h util.h
  13. $(CC) $(CFLAGS) $(CPPFLAGS) -c noice.c
  14. strlcpy.o: strlcpy.c util.h
  15. $(CC) $(CFLAGS) -c strlcpy.c
  16. clean:
  17. rm -f $(BIN) $(OBJ)