first commit
This commit is contained in:
18
ncurses test/Makefile
Normal file
18
ncurses test/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
# Compiler and flags
|
||||
CXX = g++
|
||||
CXXFLAGS = -Wall -Wextra -O2 -std=c++17
|
||||
|
||||
# Linker flags
|
||||
LDFLAGS = -lcurses
|
||||
|
||||
# Default target
|
||||
all: ncursestest
|
||||
|
||||
# Build rule
|
||||
ncursestest: ncursestest.cpp
|
||||
$(CXX) $(CXXFLAGS) ncursestest.cpp -o ncursestest $(LDFLAGS)
|
||||
|
||||
# Clean build artifacts
|
||||
clean:
|
||||
rm -f ncursestest
|
||||
|
||||
Reference in New Issue
Block a user