From 8941c46f5718e1d87bcb4bf49c48c39b89758b62 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Wed, 14 Feb 2007 18:09:57 +0000 Subject: [PATCH] An attempt to pacify sparc_SunOS-5.9 --- Installation/src/CGAL/common.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Installation/src/CGAL/common.mk b/Installation/src/CGAL/common.mk index 87c8f5cfd65..1a6e78c1502 100644 --- a/Installation/src/CGAL/common.mk +++ b/Installation/src/CGAL/common.mk @@ -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