git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3445
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-08-21 Bernhard Held <bernhard AT bernhardheld.de>
+
+ * sim/ucsim/cmd.src/Makefile.in: run lex only if $(PRJDIR)/devel exists
+
2004-08-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/ralloc.c (packRegsForAssign): ported some bug fixes from the
* as/mcs51/lklex.c: accept everything as symbol name in rel-files, bug fix ID 452601
* as/mcs51/lksym.c: accept everything as symbol name in rel-files, bug fix ID 452601
-$Revision$
+$Revision$
\ No newline at end of file
cmduc.o cmdstat.o cmdmem.o \
cmdpars.o cmdlex.o
+DEVEL = $(shell ( bash -c "test -e $(PRJDIR)/devel && echo yes" ))
# Compiling entire program or any subproject
# ------------------------------------------
cmdpars.cc: cmdpars.y
-cmdlex.cc: cmdlex.l cmdpars.h
+ifeq ($(DEVEL),yes)
+ cmdlex.cc: cmdlex.l cmdpars.h
+endif
# My rules
# --------
rm -f $*.cc $*.h
$(BISON_PLUS_PLUS) -d -o $*.cc $<
+ifeq ($(DEVEL),yes)
.l.cc:
rm -f $*.cc
$(LEX) --c++ -o $*.cc $<
+endif
# Remaking configuration