From 7de026d1e2bc820cf0c49641db8d78e72d791e9b Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Mon, 18 Nov 2019 15:01:46 +0000 Subject: [PATCH] removed temp makefile --- temp_makefile.make | 55 ---------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 temp_makefile.make diff --git a/temp_makefile.make b/temp_makefile.make deleted file mode 100644 index 4b25fb98b..000000000 --- a/temp_makefile.make +++ /dev/null @@ -1,55 +0,0 @@ -# Makefile for Rapid Binary Star Evolution program - -# you will need to set the BINARY_C variable to point -# to the root binary_c directory -ifeq ($(BINARY_C),) - $(error BINARY_C is not set) -endif - -# Name of program -PROGRAM := binary_c_python_api - -# some commands -CC := gcc -LD := gcc -MAKE := /usr/bin/make - -# Libraries -LIBS := -lbinary_c $(shell $(BINARY_C)/binary_c-config --libs) - -# Source files and cflags -C_SRC := binary_c_python_api.c -CFLAGS := -fPIC $(shell $(BINARY_C)/binary_c-config --flags | sed s/-fvisibility=hidden// ) - -# Incdirs -INCDIRS := -I$(BINARY_C)/src/ -I$(BINARY_C)/src/API - -# Object files and flags -OBJECTS := $(C_SRC:.c=.o) -OBJ_FLAGS := -c - -# Shared lib files and flags -SO_NAME := libbinary_c_api.so -SO_FLAGS := -shared -o - -# To create python shared library -PY_EXEC := python3 -PY_SETUP := setup.py -PY_OPTIONS := build_ext --inplace - - -all: - $(CC) -DBINARY_C=$(BINARY_C) $(CFLAGS) $(INCDIRS) $(C_SRC) $(OBJ_FLAGS) $(LIBS) - #$(CC) -DBINARY_C=$(BINARY_C) $(SO_FLAGS) $(SO_NAME) $(OBJECTS) - #$(PY_EXEC) $(PY_SETUP) $(PY_OPTIONS) - -test: - @echo Objects: $(OBJECTS) - @echo Libs: $(LIBS) - @echo C_SRC: $(C_SRC) - @echo CFLAGS: $(CFLAGS) - @echo INCDIRS: $(INCDIRS) - -clean: - rm -f *.o *.so - rm -rf build/ -- GitLab