new: Add proper color support, move ncurses code to term.c
This commit is contained in:
13
Makefile
13
Makefile
@ -1,9 +1,11 @@
|
||||
prefix = /usr
|
||||
SRCS = $(wildcard src/*.c)
|
||||
SRCS = $(wildcard src/*.c)
|
||||
HEADERS = $(wildcard src/*.h)
|
||||
PO_DIRS = $(wildcard locale/*/*)
|
||||
|
||||
PO_DIRS = $(wildcard locale/*/*)
|
||||
PO_FILES = $(wildcard locale/*/*/*.po)
|
||||
|
||||
prefix = /usr
|
||||
|
||||
dist/xcfg: $(SRCS) $(HEADERS) $(PO_FILES)
|
||||
mkdir -p dist
|
||||
gcc $(CFLAGS) $(SRCS) -o $@ -lncurses -lmenu -lm
|
||||
@ -35,4 +37,7 @@ install:
|
||||
uninstall:
|
||||
rm $(DESTDIR)$(prefix)/bin/xcfg
|
||||
|
||||
.PHONY: install uninstall
|
||||
format:
|
||||
clang-format -i -style=file src/*.c src/*.h
|
||||
|
||||
.PHONY: install uninstall format
|
||||
|
Reference in New Issue
Block a user