1
0
forked from GitHub/gf-core

Fix conditional checks so that java code is compiled when it should.

This commit is contained in:
bringert
2005-05-11 07:38:11 +00:00
parent 63d3bb58ee
commit 3645de0113

View File

@@ -19,24 +19,24 @@ BIN_DIST_DIR=$(DIST_DIR)-$(host)
SNAPSHOT_DIR=GF-$(shell date +%Y%m%d)
ifeq ($(READLINE),readline)
GHCFLAGS += -package readline -DUSE_READLINE
endif
GF_EXE=gf$(EXEEXT)
GF_EXE_TMP=gf-bin$(EXEEXT)
GF_DOC_EXE=gfdoc$(EXEEXT)
.PHONY: all unix jar gfdoc windows install install-gf \
temp install-gfdoc install-editor \
today help clean
ifeq ("$(READLINE)","readline")
GHCFLAGS += -package readline -DUSE_READLINE
endif
ifeq ($(ENABLE_JAVA), "yes")
ifeq ("$(ENABLE_JAVA)", "yes")
BUILD_JAR=jar
else
BUILD_JAR=
endif
.PHONY: all unix jar gfdoc windows install install-gf \
temp install-gfdoc install-editor \
today help clean
all: unix gfdoc $(BUILD_JAR)
unix: today touch-files opt