Commit f0c44399dfda959a76ae598460fba866af2dd4ef
1 parent
8a0ff8a5
add test to build
Showing
1 changed file
with
7 additions
and
0 deletions
pyext/Makefile.am
| ... | ... | @@ -32,6 +32,13 @@ INC_INST = $(INC_MWL) $(INC_CTA) $(INC_LAT) |
| 32 | 32 | OPT_INST = $(OPT_MWL) $(OPT_CTA) $(OPT_LAT) |
| 33 | 33 | |
| 34 | 34 | all-local: gammalib_wrap.cpp gammalib.py |
| 35 | + @if test "x`uname`" = "xSunOS"; then \ | |
| 36 | + echo "WARNING: This is Solaris"; \ | |
| 37 | + CC=CC; \ | |
| 38 | + fi | |
| 39 | + @if test "x`uname`" = "xDarwin"; then \ | |
| 40 | + echo "WARNING: This is Mac OS X"; \ | |
| 41 | + fi | |
| 35 | 42 | $(PYTHON) setup.py build --build-platlib build |
| 36 | 43 | |
| 37 | 44 | install-exec-local: | ... | ... |