pgn-extract: add .gitignore, add -D__linux in Makefile

This commit is contained in:
2024-01-22 07:35:30 +01:00
parent abaff964ca
commit f65d2e5d3a
3 changed files with 5 additions and 1 deletions

3
pgn-extract/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
/.ccls-cache/
/*.o
/pgn-extract

View File

@@ -35,7 +35,7 @@ DEBUGINFO=-g
# Mac OS X users might need to add -D__unix__ to CFLAGS
# and use CC=cc or CC=gcc
OPTIMISE=-O3
OPTIMISE=-O3 -D__linux__
CFLAGS+=-c -pedantic -Wall -Wshadow -Wformat -Wpointer-arith \
-Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings \

1
pgn-extract/test/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/.runtests