replace the touch of site_ansto.c with the rm of site_ansto.o to force recompile (it's more git friendly)

This commit is contained in:
Douglas Clowes
2013-05-24 12:41:23 +10:00
parent a8e55caf9c
commit 4b510ffd05

View File

@@ -106,10 +106,14 @@ endif
SICS_SITE = $(shell bash extract_version.sh SITE)
SICS_VERSION = $(shell bash extract_version.sh VERSION)
SICS_REVISION = $(shell bash extract_version.sh REVISION)
$(shell touch site_ansto.c)
$(info Site text is "${SICS_SITE}")
$(info Version text is "${SICS_VERSION}")
$(info Revision text is "${SICS_REVISION}")
ifneq (,$(wildcard site_ansto.o))
$(info Removing site_ansto.o to force recompile)
$(shell rm -f site_ansto.o)
endif
#
DEBUGFLAGS = -Wall -Wextra -Wno-unused -Wno-comment -Wno-switch
CFLAGS = -g -std=gnu99