Changeset 4228

Show
Ignore:
Timestamp:
11/05/06 15:41:34 (2 years ago)
Author:
mmh
Message:

Don't create lex.backup unless DEBUG is enabled.
Also, delete it during 'make clean'.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r4222 r4228  
    337337 
    338338clean:: 
    339         $(RM) lm_sensors-* 
     339        $(RM) lm_sensors-* lex.backup 
    340340 
    341341user_uninstall:: 
     
    477477        $(BISON) -p sensors_yy -d $< -o $@ 
    478478 
     479ifeq ($(DEBUG),1) 
     480FLEX_FLAGS := -Psensors_yy -t -b -Cf 
     481else 
     482FLEX_FLAGS := -Psensors_yy -t -Cf 
     483endif 
     484 
    479485%.c: %.l 
    480         $(FLEX) -Psensors_yy -t -b -Cf $< > $@ 
     486        $(FLEX) $(FLEX_FLAGS) $< > $@