Commit bad5aa41 authored by Erwan Jahier's avatar Erwan Jahier
Browse files

Add a .exe suffix to native win32 executable file names.

parent 0c651611
......@@ -103,7 +103,7 @@ ifeq ($(HOSTTYPE),cross-win32)
GPP=/usr/bin/i586-mingw32msvc-g++ $(DEBUG)
AR=/usr/bin/i586-mingw32msvc-ar
AS=/usr/bin/i586-mingw32msvc-as
EXE :=
export EXE=.exe
CFLAGS=-g -O2 -fpic -DWIN32
DWIN32 =
......
......@@ -14,7 +14,7 @@ SOURCES = $(OBJDIR)/genlex.ml $(OBJDIR)/gnuplot-rif.ml
ln: $(OBJDIR) $(SOURCES)
RESULT = gnuplot-rif
RESULT = gnuplot-rif$(EXE)
......
......@@ -112,7 +112,7 @@ SOURCES_OCAML = \
$(OBJDIR)/gen_fake_lucky.ml
RESULT = gen_fake_lucky
RESULT = gen_fake_lucky$(EXE)
ifdef MLONLY
SOURCES_OCAML =$(filter %.ml, $(SOURCES_OCAML))
endif
......
......@@ -117,7 +117,7 @@ SOURCES = $(SOURCES_C) $(SOURCES_OCAML)
ln: $(OBJDIR) $(SOURCES)
RESULT = luc2c
RESULT = luc2c$(EXE)
OCAMLMAKEFILE = ../../OcamlMakefile
-include $(OCAMLMAKEFILE)
......
......@@ -119,7 +119,7 @@ SOURCES_OCAML =$(filter %.ml, $(SOURCES_OCAML))
endif
SOURCES = $(SOURCES_C) $(SOURCES_OCAML)
RESULT = luc2luciole
RESULT = luc2luciole$(EXE)
ln: $(OBJDIR) $(SOURCES)
OCAMLMAKEFILE = ../../OcamlMakefile
......
......@@ -131,7 +131,7 @@ endif
SOURCES = $(SOURCES_C) $(SOURCES_OCAML)
RESULT = lucky
RESULT = lucky$(EXE)
ln: $(OBJDIR) $(SOURCES)
......
......@@ -120,7 +120,7 @@ SOURCES_OCAML := \
SOURCES = $(SOURCES_C) $(SOURCES_OCAML)
ln: $(OBJDIR) $(SOURCES)
RESULT = show_luc_exe
RESULT = show_luc_exe$(EXE)
OCAMLMAKEFILE = ../../OcamlMakefile
......
......@@ -20,7 +20,7 @@ SOURCES = \
$(OBJDIR)/genlex.mli $(OBJDIR)/genlex.ml \
$(OBJDIR)/version.ml $(OBJDIR)/util.ml $(OBJDIR)/util2.ml $(OBJDIR)/lurettetop.ml
RESULT = ./lurettetop_exe
RESULT = ./lurettetop_exe$(EXE)
ln: $(OBJDIR) $(SOURCES)
......
......@@ -166,7 +166,7 @@ SOURCES=\
RESULT=lutin
RESULT=lutin$(EXE)
ln: $(OBJDIR) $(SOURCES)
......
......@@ -136,7 +136,7 @@ SOURCES = $(SOURCES_C) $(SOURCES_OCAML)
ln: $(OBJDIR) $(SOURCES)
RESULT = gen_stubs_exe
RESULT = gen_stubs_exe$(EXE)
OCAMLMAKEFILE = ../../OcamlMakefile
-include $(OCAMLMAKEFILE)
......
......@@ -18,7 +18,7 @@ SOURCES_OCAML = \
SOURCES = $(SOURCES_OCAML)
RESULT = call-via-socket
RESULT = call-via-socket$(EXE)
ln: $(OBJDIR) $(SOURCES)
......
......@@ -18,7 +18,7 @@ SOURCES_OCAML = \
SOURCES = $(SOURCES_OCAML)
RESULT = gnuplot-socket
RESULT = gnuplot-socket$(EXE)
ln: $(OBJDIR) $(SOURCES)
......
......@@ -22,7 +22,7 @@ SOURCES = $(THERE)/util.ml \
$(THERE)/parse_poc.ml \
$(HERE)/gen_fake_lutin.ml
RESULT = gen_fake_lutin_exe
RESULT = gen_fake_lutin_exe$(EXE)
LIBS = str unix
OCAMLMAKEFILE = ../../OcamlMakefile
......
......@@ -44,7 +44,7 @@ SOURCES_OCAML = \
SOURCES = $(SOURCES_OCAML)
RESULT = lucky2lus
RESULT = lucky2lus$(EXE)
-include $(OCAMLMAKEFILE)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment