mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-03-20 08:41:02 +03:00
add some ncurses snippets
This commit is contained in:
13
Ncurses/Makefile
Normal file
13
Ncurses/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
CC=gcc
|
||||
CFLAGS= -Wall -Werror -Wextra -O3 `pkg-config --libs --cflags ncurses`
|
||||
|
||||
all: menu mouse_menu acs rolling readf ncurses_and_readline
|
||||
|
||||
ncurses_and_readline: ncurses_and_readline.c
|
||||
@echo -e "\t\tCC $<"
|
||||
$(CC) $(CFLAGS) -lreadline -o $@ $<
|
||||
|
||||
%: %.c
|
||||
@echo -e "\t\tCC $<"
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
Reference in New Issue
Block a user