An attempt to pacify sparc_SunOS-5.9

This commit is contained in:
Efi Fogel 2007-02-14 18:09:57 +00:00
parent 3d5541ef61
commit 8941c46f57
1 changed files with 3 additions and 3 deletions

View File

@ -74,13 +74,13 @@ clean:
# suffix rules
#---------------------------------------------------------------------#
%$(OBJ_EXT) : %.cpp
%$(OBJ_EXT): %.cpp
$(CGAL_CXX) $(CXXFLAGS) $(ADDITIONNAL_CXXFLAGS) -c $<
FLEX ?=flex
BISON ?=bison
%.cpp : %.l
%.cpp: %.l
$(FLEX) -8 -o$@ $<
# Apparently, old versions of bison (e.g., 1.28) name the generated definion
@ -94,7 +94,7 @@ ifneq ($(strip $(BISON_EXISTS)),)
OLD_BISON_VERSION =$(shell $(OLD_BISON_VERSION_CMD))
endif
%.cpp %.hpp : %.y
%.cpp %.hpp: %.y
$(BISON) -d $< -o $*.cpp
ifeq ($(OLD_BISON_VERSION), 1)
mv $*.cpp.h $*.hpp