From 3e513a12315c2dfed2f6773f930a159263327ae1 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Tue, 11 Apr 2023 19:06:35 +0200 Subject: [PATCH] update makefile --- Makefile | 17 +++++++++++------ src/nmreval/clib/integrate.so | Bin 0 -> 15624 bytes 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100755 src/nmreval/clib/integrate.so diff --git a/Makefile b/Makefile index 5f03e4f..f0b77fa 100755 --- a/Makefile +++ b/Makefile @@ -4,11 +4,6 @@ PYUIC = pyuic5 # PYRCC = pyrcc5 -CC = gcc -CFLAGS = -O2 -fPIC -LDFLAGs = -shared - - #Directory with ui files RESOURCE_DIR = src/resources/_ui @@ -22,11 +17,21 @@ PYQT_UI = $(UI_FILES:%.ui=$(PYQT_DIR)/%.py) SVG_FILES = $(foreach dir, $(RCC_DIR), $(notdir $(wildcard $(dir)/*.svg))) PNG_FILES = $(SVG_FILES:%.svg=$(RCC_DIR)/%.png) +CC = gcc +CFLAGS = -O2 -fPIC +LDFLAGS = -shared + +C_DIR = src/nmreval/clib + all : ui ui : $(PYQT_UI) -rcc: $(PNG_FILES) +rcc : $(PNG_FILES) + +# only one C file at the moment +compile : $(C_DIR)/integrate.c + $(CC) $(LDFLAGS) $(CFLAGS) -o $(C_DIR)/integrate.so $< $(COMPILED_DIR)/%.py : $(RESOURCE_DIR)/%.ui $(PYUIC) $< -o $@ diff --git a/src/nmreval/clib/integrate.so b/src/nmreval/clib/integrate.so new file mode 100755 index 0000000000000000000000000000000000000000..e726c62d1a9920fc871dd27baae10bc8c3c494f9 GIT binary patch literal 15624 zcmeHOTWl0n7(UyjP@u3CXeeN0B&c9yX;Ba*g)O}>U<+7E0tq-wySv>rd#SrqY4O1( z)dVCYeUa#!8ce_kB|fMxB-|tzH33aj5=|N-2^ude5k+HI|9|Fu+nMREF+PxJ&Pite z^IyLIob#QtJJaqt&$f4VR0RS8B`DSl)*^L|B_bUc*T@Qqh*&G8(|v(xuw$o8xF*#! z>4X$AFSk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