summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2022-07-03 11:24:05 -0400
committerJon Santmyer <jon@jonsantmyer.com>2022-07-03 11:24:05 -0400
commit7d71827c25ff1ab47c03aaa26f63a9a754b3d549 (patch)
tree896eb9b61a3bc3be90d068b12ac38f07b99ffce5 /Makefile
parent3d101c5638ef573993f387a2cecbb794e6e056e6 (diff)
downloadsystemviewer-7d71827c25ff1ab47c03aaa26f63a9a754b3d549.tar.gz
systemviewer-7d71827c25ff1ab47c03aaa26f63a9a754b3d549.tar.bz2
systemviewer-7d71827c25ff1ab47c03aaa26f63a9a754b3d549.zip
Condensed solar system csv files into one.
Add argument parser for help and different systems
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8176c1f..823791d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,12 @@ ODIR := $(PWD)/bin
SFILES := $(wildcard $(SDIR)/*.cpp)
OFILES := $(patsubst $(SDIR)/%.cpp,$(ODIR)/%.o,$(SFILES))
-OUT := spacelike
+OUT := systemviewer
+GIT_VERSION := "$(shell git describe --abbrev=4 --dirty --always --tags)"
CC := g++
CFLAGS := -std=c++20 -Wall -Wextra -MP -MD -I$(IDIR) -g -Wno-unused
+CFLAGS += -DVERSION=\"$(GIT_VERSION)\"
-include $(SDIR/:.cpp=.d)