| 1 |
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 2 |
# all rights reserved |
| 3 |
# .TYPE make file |
| 4 |
# .NAME $MIDASHOME/$MIDVERS/gui/XAlice/libsrc/makefile |
| 5 |
# .LANGUAGE makefile syntax |
| 6 |
# .ENVIRONMENT Unix Systems. |
| 7 |
# .COMMENT Compiles source files and generates "mgauss.a" library |
| 8 |
# for Alice context. |
| 9 |
# |
| 10 |
# .REMARKS |
| 11 |
# .AUTHOR Carlos Guirao & someone else |
| 12 |
# .VERSION 1.1 20-Jul-1993: Implementation |
| 13 |
|
| 14 |
include ../../../local/default.mk |
| 15 |
|
| 16 |
CFLAGS += $(C_OPT) $(DEBUG) $(SYS) -I$(LINC) -I$(INC) $(X11INC) |
| 17 |
|
| 18 |
LIBOUT = ../../lib/libmgauss.a |
| 19 |
|
| 20 |
OBJ = Amgauss.o fit.o fpoly.o gammln.o gammq.o \ |
| 21 |
gcf.o gser.o moment.o ratint.o\ |
| 22 |
spectrum.o mdian1.o sort.o splint.o |
| 23 |
|
| 24 |
# DEPENDENCIES: |
| 25 |
all: $(LIBOUT) |
| 26 |
|
| 27 |
$(LIBOUT): $(OBJ) |
| 28 |
$(AR) $(AR_OPT) $(LIBOUT) $(OBJ) |
| 29 |
$(RANLIB) $(LIBOUT) |
| 30 |
|
| 31 |
clean: |
| 32 |
rm -f $(OBJ) |