From Simon Julier, fix for .exe extension under Mingw/Cygwin.

This commit is contained in:
Robert Osfield
2005-12-09 15:05:50 +00:00
parent 479af6e825
commit c99b4b7b4d
2 changed files with 5 additions and 4 deletions

View File

@@ -82,8 +82,6 @@ OBJS = $(C++FILES:.cpp=.o) \
$(CXXFILES:.cpp=.o) \
$(CFILES:.c=.o) \
EXE_EXT =
DOF = $(OPTF)
DEBUGDIR = $(OS)$(ARCH).Debug
OPTDIR = $(OS)$(ARCH).Opt
@@ -106,8 +104,11 @@ INSTBINCMD = install -m 755
INSTDEVCMD = install -m 644
INSTLINKBINCMD = $(LINK)
INSTLINKDEVCMD = $(LINK)
LIB_PREFIX = lib
LIB_EXT = so
EXE_EXT =
PLUGIN_PREFIX = osgdb_
WRAPPER_PREFIX = osgwrapper_
PLUGIN_EXT = so

View File

@@ -32,10 +32,10 @@ cleandependdbg:
cleantarget: cleantargetopt cleantargetdbg
cleantargetopt:
@[ -d $(OPTDIR) ] && cd $(OPTDIR); rm -f $(EXEC) $(LIB) ${WRAPPER} $(PLUGIN)
@[ -d $(OPTDIR) ] && cd $(OPTDIR); rm -f $(EXEC)$(EXE_EXT) $(LIB) ${WRAPPER} $(PLUGIN)
cleantargetdbg:
@[ -d $(DEBUGDIR) ] && cd $(DEBUGDIR); rm -f $(EXEC) $(LIB) ${WRAPPER} $(PLUGIN)
@[ -d $(DEBUGDIR) ] && cd $(DEBUGDIR); rm -f $(EXEC)$(EXE_EXT) $(LIB) ${WRAPPER} $(PLUGIN)
clean: cleanopt cleandbg