GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pythonika/Makefile.osx at master · erocarrera/pythonika

Expand file tree

/

Makefile.osx

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
69 lines (42 loc) · 2.44 KB
/

Makefile.osx

Copy path

File metadata and controls

69 lines (42 loc) · 2.44 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Set the paths according to your MathLink Developer Kit location.
# (The paths should not contain whitespaces)
#MLINKDIR = ./mathematica/AddOns/MathLink/DeveloperKit
MLINKDIR = /Applications/Mathematica.app/Contents/SystemFiles/Links/MathLink/DeveloperKit
#SYS = MacOSX-x86
SYS = MacOSX-x86-64
CADDSDIR = ${MLINKDIR}/${SYS}/CompilerAdditions
INCDIR = ${CADDSDIR}
LIBDIR = ${CADDSDIR}
# Modify the following for Python versions other than 2.6
PYTHON_VERSION_MAJOR = 2
PYTHON_VERSION_MINOR = 7
# Depending on your version of OSX the Python framework might be in /Library
# instead of /System/Library (default for later OSX versions)
PYTHONFRAMEWORKDIR= /usr/local/Cellar/python/2.7.11/Frameworks
PYTHONINC = ${PYTHONFRAMEWORKDIR}/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/include/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
# PYTHONFRAMEWORKDIR = /System/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
# PYTHONINC = /System/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/include/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
# For some older OSX systems:
#
#PYTHONFRAMEWORKDIR = /Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
#PYTHONINC = /Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/include/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
# For macports' Python
#
#PYTHONFRAMEWORKDIR = /opt/local/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
#PYTHONINC = /opt/local/Library/Frameworks/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/include/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
OPTS = -DPYTHON${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}
PYTHONIKA = Pythonika
INCLUDES = -I${INCDIR} -I${PYTHONINC}
LIBS = -L${LIBDIR} -lMLi4 -F${PYTHONFRAMEWORKDIR} -framework Python -framework CoreFoundation
MPREP = "${CADDSDIR}/mprep"
MCC = "${CADDSDIR}/mcc"
all : Pythonika
Pythonika: ${PYTHONIKA}.o ${PYTHONIKA}tm.o
${CXX} ${INCLUDES} ${PYTHONIKA}.o ${PYTHONIKA}tm.o ${LIBS} -o ${PYTHONIKA}
${PYTHONIKA}tm.o: ${PYTHONIKA}.tm
${MPREP} ${PYTHONIKA}.tm -o ${PYTHONIKA}tm.c
${CXX} -c ${PYTHONIKA}tm.c ${INCLUDES}
${PYTHONIKA}.o: ${PYTHONIKA}.c
${CXX} ${OPTS} -c ${PYTHONIKA}.c ${INCLUDES}
clean :
rm -f ${PYTHONIKA}tm.* ${PYTHONIKA}.o ${PYTHONIKA}
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.