Make icon module compilation more portable

This commit is contained in:
Nicolas Weber
2009-02-05 17:11:45 -08:00
committed by Bjorn Winckler
parent 380d7b2cbf
commit 2a032c05b7
2 changed files with 7 additions and 4 deletions
+2 -4
View File
@@ -7,10 +7,7 @@ $(OUTDIR)/MacVim-generic.icns: make_icons.py vim-noshadow-512.png loadfont.so En
/usr/bin/python make_icons.py $(OUTDIR)
loadfont.so: loadfont.c
gcc -o $@ $^ -bundle \
-framework Python \
-framework CoreFoundation \
-framework ApplicationServices
python setup.py install --install-lib .
Envy\ Code\ R\ Bold.ttf: EnvyCodeR.zip
unzip -jo EnvyCodeR.zip
@@ -23,3 +20,4 @@ clean:
$(MAKE) -C makeicns clean
rm -f $(OUTDIR)/MacVim-*.icns loadfont.so *.pyc \
EnvyCodeR.zip *.ttf *.reg *.txt
rm -rf *.egginfo build # Created by setup.py
+5
View File
@@ -0,0 +1,5 @@
from distutils.core import setup, Extension
setup(name="loadfont", version="1.0",
ext_modules = [Extension("loadfont", ["loadfont.c"])])