bison's rule makes trouble too
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 21 Aug 2004 12:54:16 +0000 (12:54 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 21 Aug 2004 12:54:16 +0000 (12:54 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3446 4a8a32a2-be11-0410-ad9d-d568d2c75423

sim/ucsim/cmd.src/Makefile.in

index eaca51968b50736a88de21c5db0a7e1bf3b6d1a4..644c9df3e2dc1fd4418258fb7c01ba8020179dbe 100644 (file)
@@ -113,11 +113,11 @@ $(PRJDIR)/libcmd.a: $(OBJECTS)
 #      mv y.tab.c $*.cc
 #      mv y.tab.h $*.h
 
+ifeq ($(DEVEL),yes)
 .y.cc:
        rm -f $*.cc $*.h
        $(BISON_PLUS_PLUS) -d -o $*.cc $<
 
-ifeq ($(DEVEL),yes)
 .l.cc:
        rm -f $*.cc
        $(LEX) --c++ -o $*.cc $<