From 42c03e2ad6110625b54c8aab5960a5d3723e54b0 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 24 Feb 2025 12:46:43 -0500 Subject: initial commit --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0d06904 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +CXX = g++ +PYTHON_VERSION = 3.10 + +CXXFLAGS = -I$(shell python$(PYTHON_VERSION)-config --includes) +LDFLAGS = $(shell python$(PYTHON_VERSION)-config --ldflags --embed) + +SRCDIR = src + +all: rv + +rv: $(SRCDIR)/rv.cc + $(CXX) $(CXXFLAGS) -o rv $(SRCDIR)/rv.cc $(LDFLAGS) + +test: + @echo "foo" + +clean: + rm -f rv -- cgit v1.2.3