[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Pb with normal and implicit rules
From: |
Philippe HAUTION |
Subject: |
Pb with normal and implicit rules |
Date: |
Wed, 10 Jul 2002 18:10:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Hello,
When trying to migrate form Sun Make to gnu Make on Solaris 8, I am
getting the following error message :
Makefile:179: *** mixed implicit and normal rules. Stop.
where line 179 is :
../$(objdird)/%.o ../$(objdirr)/%.o : %.cc
and the involved variables are initialized this way at the beginning of
the Makefile :
sspCmd = basename `pwd`
ssp = $(shell $(sspCmd))
objdird = objd/$(ssp)
objdirr = objr/$(ssp)
Any idea ?
--
Philippe Haution
EDF R&D
Département Méthodes d'Optimisation et de Simulation
1 Av du Général de Gaulle
92141 Clamart CEDEX
- Pb with normal and implicit rules,
Philippe HAUTION <=