X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=75bbbd6c40b19609e6c36c93357ea877c6b96399;hp=0b093c447ea89b26962d013914d0a58604eec06a;hb=589c711449ef09b459b76d8891b6abc5c0b843bd;hpb=7caa6cd3383cf90189a1947c9bdf9c6fea1172a6 diff --git a/src/Makefile b/src/Makefile index 0b093c44..75bbbd6c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -28,10 +28,6 @@ EXE = stockfish ### Installation dir definitions PREFIX = /usr/local -# Haiku has a non-standard filesystem layout -ifeq ($(UNAME),Haiku) - PREFIX=/boot/system/non-packaged -endif BINDIR = $(PREFIX)/bin ### Built-in benchmark for pgo-builds @@ -40,7 +36,7 @@ PGOBENCH = ./$(EXE) bench 16 1 1 default time ### Object files OBJS = benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o \ material.o misc.o movegen.o movepick.o pawns.o position.o \ - search.o thread.o timeman.o tt.o uci.o ucioption.o + search.o thread.o timeman.o tt.o uci.o ucioption.o syzygy/tbprobe.o ### ========================================================================== ### Section 2. High-level Configuration @@ -75,12 +71,6 @@ bsfq = no popcnt = no sse = no pext = no -syzygy = yes - -ifeq ($(syzygy),yes) - OBJS += syzygy/tbprobe.o - CXXFLAGS += -DSYZYGY -endif ### 2.2 Architecture specific @@ -360,10 +350,6 @@ help: @echo "clang > LLVM Clang compiler" @echo "icc > Intel compiler" @echo "" - @echo "Non-standard targets:" - @echo "" - @echo "make hpux > Compile for HP-UX. Compiler = aCC" - @echo "" @echo "Examples. If you don't know what to do, you likely want to run: " @echo "" @echo "make build ARCH=x86-64 (This is for 64-bit systems)" @@ -404,7 +390,7 @@ install: -strip $(BINDIR)/$(EXE) clean: - $(RM) $(EXE) $(EXE).exe *.o .depend *~ core bench.txt *.gcda ./syzygy/*.o + $(RM) $(EXE) $(EXE).exe *.o .depend *~ core bench.txt *.gcda ./syzygy/*.o ./syzygy/*.gcda default: help @@ -468,7 +454,7 @@ gcc-profile-use: all gcc-profile-clean: - @rm -rf *.gcda *.gcno bench.txt + @rm -rf *.gcda *.gcno syzygy/*.gcda syzygy/*.gcno bench.txt icc-profile-prepare: $(MAKE) ARCH=$(ARCH) COMP=$(COMP) icc-profile-clean @@ -492,15 +478,3 @@ icc-profile-clean: -include .depend - -### ========================================================================== -### Section 6. Non-standard targets -### ========================================================================== - -hpux: - $(MAKE) \ - CXX='/opt/aCC/bin/aCC -AA +hpxstd98 -mt +O3 -DNDEBUG -DNO_PREFETCH' \ - CXXFLAGS="" \ - LDFLAGS="" \ - all -