Linux: ncurses, gitignore

This commit is contained in:
corey 2024-05-11 07:37:35 -05:00
parent 3c876589f6
commit 17813088a3
2 changed files with 10 additions and 2 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
*.o
*.nes
*.a
/bin
/test
/src/65db
/src/65da
/src/fes

View File

@ -23,7 +23,7 @@ RM = rm -f
else
# Linux/Mac/*nix
ARFLAGS = mc
CFLAGS = `pkg-config --cflags sdl2`
LDFLAGS = `pkg-config --libs sdl2` -lncurses
CFLAGS = $(shell pkgconf --cflags sdl2 ncurses)
LDFLAGS = $(shell pkgconf --libs sdl2 ncurses)
endif
endif