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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user