Permalink
Browse files

Fix MacOS X build

  • Loading branch information...
1 parent 1d5382b commit 06308f5bad5ea38ce58e3df6ab0b221b7bddcac2 @migueldeicaza migueldeicaza committed Jan 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
@@ -60,13 +60,13 @@ constants.cs: attrib.c
./attrib constants.cs
libmono-curses.so: mono-curses.c
- if test `uname` = Darwin; then gcc -dynamiclib mono-curses.c -o libmono-curses.dylib -lncurses; else gcc -g -shared -fPIC mono-curses.c -o libmono-curses.so -lncurses; fi
+ if test `uname` = Darwin; then gcc -dynamiclib -m32 mono-curses.c -o libmono-curses.dylib -lncurses; else gcc -g -shared -fPIC mono-curses.c -o libmono-curses.so -lncurses; fi
test: test.exe
mono test.exe
clean:
- rm *.exe *dll binding.cs *.so
+ -rm -f *.exe *dll binding.cs *.so *dylib
install: all
mkdir -p $(prefix)/bin

0 comments on commit 06308f5

Please sign in to comment.