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.
 
 
 
 
 
 

20 lines
279 B

  1. #CPPFLAGS += -DDEBUG
  2. #CFLAGS += -g
  3. LDLIBS = -lncursesw
  4. OBJ = noice.o strlcpy.o
  5. BIN = noice
  6. all: $(BIN)
  7. $(BIN): $(OBJ)
  8. $(CC) -o $@ $(OBJ) $(LDLIBS)
  9. noice.o: noice.c queue.h util.h
  10. $(CC) -c noice.c
  11. strlcpy.o: strlcpy.c util.h
  12. $(CC) -c strlcpy.c
  13. clean:
  14. rm -f $(BIN) $(OBJ)