mirror of https://github.com/CGAL/cgal
An attempt to pacify sparc_SunOS-5.9
This commit is contained in:
parent
3d5541ef61
commit
8941c46f57
|
|
@ -74,13 +74,13 @@ clean:
|
||||||
# suffix rules
|
# suffix rules
|
||||||
#---------------------------------------------------------------------#
|
#---------------------------------------------------------------------#
|
||||||
|
|
||||||
%$(OBJ_EXT) : %.cpp
|
%$(OBJ_EXT): %.cpp
|
||||||
$(CGAL_CXX) $(CXXFLAGS) $(ADDITIONNAL_CXXFLAGS) -c $<
|
$(CGAL_CXX) $(CXXFLAGS) $(ADDITIONNAL_CXXFLAGS) -c $<
|
||||||
|
|
||||||
FLEX ?=flex
|
FLEX ?=flex
|
||||||
BISON ?=bison
|
BISON ?=bison
|
||||||
|
|
||||||
%.cpp : %.l
|
%.cpp: %.l
|
||||||
$(FLEX) -8 -o$@ $<
|
$(FLEX) -8 -o$@ $<
|
||||||
|
|
||||||
# Apparently, old versions of bison (e.g., 1.28) name the generated definion
|
# 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))
|
OLD_BISON_VERSION =$(shell $(OLD_BISON_VERSION_CMD))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.cpp %.hpp : %.y
|
%.cpp %.hpp: %.y
|
||||||
$(BISON) -d $< -o $*.cpp
|
$(BISON) -d $< -o $*.cpp
|
||||||
ifeq ($(OLD_BISON_VERSION), 1)
|
ifeq ($(OLD_BISON_VERSION), 1)
|
||||||
mv $*.cpp.h $*.hpp
|
mv $*.cpp.h $*.hpp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue