pgn-extract: add .gitignore, add -D__linux in Makefile
This commit is contained in:
3
pgn-extract/.gitignore
vendored
Normal file
3
pgn-extract/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
/.ccls-cache/
|
||||||
|
/*.o
|
||||||
|
/pgn-extract
|
@@ -35,7 +35,7 @@ DEBUGINFO=-g
|
|||||||
# Mac OS X users might need to add -D__unix__ to CFLAGS
|
# Mac OS X users might need to add -D__unix__ to CFLAGS
|
||||||
# and use CC=cc or CC=gcc
|
# and use CC=cc or CC=gcc
|
||||||
|
|
||||||
OPTIMISE=-O3
|
OPTIMISE=-O3 -D__linux__
|
||||||
|
|
||||||
CFLAGS+=-c -pedantic -Wall -Wshadow -Wformat -Wpointer-arith \
|
CFLAGS+=-c -pedantic -Wall -Wshadow -Wformat -Wpointer-arith \
|
||||||
-Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings \
|
-Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings \
|
||||||
|
1
pgn-extract/test/.gitignore
vendored
Normal file
1
pgn-extract/test/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/.runtests
|
Reference in New Issue
Block a user