mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Don't create lex.backup unless DEBUG is enabled.
Also, delete it during 'make clean'. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4228 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
10
Makefile
10
Makefile
@@ -336,7 +336,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
$(RM) lm_sensors-*
|
$(RM) lm_sensors-* lex.backup
|
||||||
|
|
||||||
user_uninstall::
|
user_uninstall::
|
||||||
|
|
||||||
@@ -476,5 +476,11 @@ manhtml:
|
|||||||
%c: %y
|
%c: %y
|
||||||
$(BISON) -p sensors_yy -d $< -o $@
|
$(BISON) -p sensors_yy -d $< -o $@
|
||||||
|
|
||||||
|
ifeq ($(DEBUG),1)
|
||||||
|
FLEX_FLAGS := -Psensors_yy -t -b -Cf
|
||||||
|
else
|
||||||
|
FLEX_FLAGS := -Psensors_yy -t -Cf
|
||||||
|
endif
|
||||||
|
|
||||||
%.c: %.l
|
%.c: %.l
|
||||||
$(FLEX) -Psensors_yy -t -b -Cf $< > $@
|
$(FLEX) $(FLEX_FLAGS) $< > $@
|
||||||
|
Reference in New Issue
Block a user