Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8af224f

Browse files
author
Fraser J. Gordon
committed
On Linux, build the perfect hash utility from source
1 parent 92a811b commit 8af224f

File tree

3 files changed

+3122
-2
lines changed

3 files changed

+3122
-2
lines changed

engine/Makefile.kernel-development

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ SOURCES= \
1212
KERNEL_DEFINES=\
1313
MODE_DEVELOPMENT
1414

15-
src/hashedstrings.cpp: src/lextable.cpp
15+
../util/perfect/perfect.linux-$(ARCH): ../util/perfect/perfect.c
16+
$(CC) ../util/perfect/perfect.c -o ../util/perfect/perfect.linux-$(ARCH)
17+
18+
src/hashedstrings.cpp: src/lextable.cpp ../util/perfect/perfect.linux-$(ARCH)
1619
# ../prebuilt/bin/Revolution.lnx "./hash_strings.rev" "./src/lextable.cpp" "./src/hashedstrings.cpp" "../prebuilt/bin/perfect.lnx"
17-
../util/hash_strings.pl ./src/lextable.cpp ./src/hashedstrings.cpp perfect.lnx
20+
../util/hash_strings.pl ./src/lextable.cpp ./src/hashedstrings.cpp perfect.linux-$(ARCH)
1821

1922
encodederrors.cpp: src/executionerrors.h src/parseerrors.h
2023
# ../prebuilt/bin/Revolution.lnx "./encode_errors.rev" "./src" "./src/encodederrors.cpp"

0 commit comments

Comments
 (0)