diff options
| author | bringert <unknown> | 2005-05-11 07:38:11 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2005-05-11 07:38:11 +0000 |
| commit | 3645de0113f864c0639160747bf9091178397c29 (patch) | |
| tree | b5a66f3a7ef9a43d0d78fc481fc3ff0634b70c22 /src | |
| parent | 63d3bb58ee82f9d3240ccb4b0559a995417c085a (diff) | |
Fix conditional checks so that java code is compiled when it should.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Makefile b/src/Makefile index 77a208ced..2c1e38d22 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 |
