From 6a8d8478cde249c58700318032212ac441050f5c Mon Sep 17 00:00:00 2001 From: Recolic Keghart <git@me.recolic.net> Date: Wed, 16 Nov 2022 19:52:52 -0800 Subject: [PATCH] u --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ab4ac44..e2de6e2 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,15 @@ CC ?= gcc -O3 CXX ?= g++ -O3 +build_cxx: + $(CXX) changpu_v2.cc -o changpu_v2 -std=c++17 -static -static-libgcc + strip changpu_v2 + + build_cython: cython --embed changpu_v2.py $(CC) changpu_v2.c -o changpu_v2 $$(python3-config --cflags --ldflags --embed) -build_cxx: - $(CXX) changpu_v2.cc -o changpu_v2 -std=c++17 clean: rm -f *.c changpu changpu_v2 -- GitLab