diff --git a/Makefile b/Makefile index b1f1050..90346af 100644 --- a/Makefile +++ b/Makefile @@ -15,17 +15,17 @@ OBJECTS = \ all: MMDVMHost -MMDVMHost: gitversion.h $(OBJECTS) +MMDVMHost: GitVersion.h $(OBJECTS) $(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< clean: - $(RM) MMDVMHost *.o *.d *.bak *~ gitversion.h + $(RM) MMDVMHost *.o *.d *.bak *~ GitVersion.h # Export the current git version if the index file exists, else 000... -gitversion.h: +GitVersion.h: ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ else diff --git a/Makefile.Pi b/Makefile.Pi index f683ec6..3ac85ad 100644 --- a/Makefile.Pi +++ b/Makefile.Pi @@ -15,17 +15,17 @@ OBJECTS = \ all: MMDVMHost -MMDVMHost: gitversion.h $(OBJECTS) +MMDVMHost: GitVersion.h $(OBJECTS) $(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< clean: - $(RM) MMDVMHost *.o *.d *.bak *~ gitversion.h + $(RM) MMDVMHost *.o *.d *.bak *~ GitVersion.h # Export the current git version if the index file exists, else 000... -gitversion.h: +GitVersion.h: ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ else diff --git a/Makefile.Pi.Adafruit b/Makefile.Pi.Adafruit index 16ecc2f..816f5ad 100644 --- a/Makefile.Pi.Adafruit +++ b/Makefile.Pi.Adafruit @@ -15,17 +15,17 @@ OBJECTS = \ all: MMDVMHost -MMDVMHost: gitversion.h $(OBJECTS) +MMDVMHost: GitVersion.h $(OBJECTS) $(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< clean: - $(RM) MMDVMHost *.o *.d *.bak *~ gitversion.h + $(RM) MMDVMHost *.o *.d *.bak *~ GitVersion.h # Export the current git version if the index file exists, else 000... -gitversion.h: +GitVersion.h: ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ else diff --git a/Makefile.Pi.HD44780 b/Makefile.Pi.HD44780 index 981af5e..13b5688 100644 --- a/Makefile.Pi.HD44780 +++ b/Makefile.Pi.HD44780 @@ -15,17 +15,17 @@ OBJECTS = \ all: MMDVMHost -MMDVMHost: gitversion.h $(OBJECTS) +MMDVMHost: GitVersion.h $(OBJECTS) $(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< clean: - $(RM) MMDVMHost *.o *.d *.bak *~ gitversion.h + $(RM) MMDVMHost *.o *.d *.bak *~ GitVersion.h # Export the current git version if the index file exists, else 000... -gitversion.h: +GitVersion.h: ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ else diff --git a/Makefile.Pi.OLED b/Makefile.Pi.OLED index 660fc88..000de85 100644 --- a/Makefile.Pi.OLED +++ b/Makefile.Pi.OLED @@ -15,17 +15,17 @@ OBJECTS = \ all: MMDVMHost -MMDVMHost: gitversion.h $(OBJECTS) +MMDVMHost: GitVersion.h $(OBJECTS) $(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< clean: - $(RM) MMDVMHost *.o *.d *.bak *~ gitversion.h + $(RM) MMDVMHost *.o *.d *.bak *~ GitVersion.h # Export the current git version if the index file exists, else 000... -gitversion.h: +GitVersion.h: ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ else diff --git a/Makefile.Pi.PCF8574 b/Makefile.Pi.PCF8574 index 2ea81dd..9164dab 100644 --- a/Makefile.Pi.PCF8574 +++ b/Makefile.Pi.PCF8574 @@ -15,17 +15,17 @@ OBJECTS = \ all: MMDVMHost -MMDVMHost: gitversion.h $(OBJECTS) +MMDVMHost: GitVersion.h $(OBJECTS) $(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< clean: - $(RM) MMDVMHost *.o *.d *.bak *~ gitversion.h + $(RM) MMDVMHost *.o *.d *.bak *~ GitVersion.h # Export the current git version if the index file exists, else 000... -gitversion.h: +GitVersion.h: ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ else diff --git a/Makefile.Solaris b/Makefile.Solaris index 6113fa6..7136c1a 100644 --- a/Makefile.Solaris +++ b/Makefile.Solaris @@ -15,17 +15,17 @@ OBJECTS = \ all: MMDVMHost -MMDVMHost: gitversion.h $(OBJECTS) +MMDVMHost: GitVersion.h $(OBJECTS) $(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< clean: - $(RM) MMDVMHost *.o *.d *.bak *~ gitversion.h + $(RM) MMDVMHost *.o *.d *.bak *~ GitVersion.h # Export the current git version if the index file exists, else 000... -gitversion.h: +GitVersion.h: ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ else