mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 14:20:03 -05:00
use pragma once in headers
This commit is contained in:
parent
d66774d3f3
commit
a7b126cb48
118 changed files with 128 additions and 472 deletions
4
Makefile
4
Makefile
|
|
@ -92,10 +92,8 @@ authors:
|
|||
|
||||
src/version.hpp:
|
||||
$(eval VERSION := $(shell $(GIT) describe --always --tags --dirty))
|
||||
@echo "#ifndef _VERSION_HPP" > src/version.hpp
|
||||
@echo "#define _VERSION_HPP" >> src/version.hpp
|
||||
@echo "#pragma once" > src/version.hpp
|
||||
@echo "static const char MERGERFS_VERSION[] = \"$(VERSION)\";" >> src/version.hpp
|
||||
@echo "#endif" >> src/version.hpp
|
||||
|
||||
obj/obj-stamp:
|
||||
$(MKDIR) -p obj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue