| 1 |
# @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:45:30 |
| 2 |
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 |
# all rights reserved |
| 4 |
# .TYPE make file |
| 5 |
# .NAME $MIDASHOME/$MIDVERS/gui/XEchelle/libsrc/makefile |
| 6 |
# .LANGUAGE makefile syntax |
| 7 |
# .ENVIRONMENT Unix Systems. |
| 8 |
# .COMMENT Compiles source files and generates "libxech.a" library. |
| 9 |
# |
| 10 |
# .REMARKS |
| 11 |
# |
| 12 |
# .AUTHOR |
| 13 |
# .VERSION 1.1 880831: Implementation |
| 14 |
# .VERSION 1.2 890104: Generating makefile.com for VMS systems |
| 15 |
# .VERSION 2.1 901102: new directory structure CG. |
| 16 |
# .VERSION 3.0 930308: Using default.mk file |
| 17 |
|
| 18 |
include ../../../local/default.mk |
| 19 |
|
| 20 |
INC = ../../GraphLib/libsrc/$(UIMX)/include |
| 21 |
MINC = ../../../incl |
| 22 |
|
| 23 |
CFLAGS += $(C_OPT) $(DEBUG) $(GUI_OPT) $(SYS) -I$(LINC) -I$(INC) -I$(MINC) \ |
| 24 |
$(X_CFLAGS) $(MOTIF_CFLAGS) $(XMINC) $(X11INC) |
| 25 |
|
| 26 |
LIB = $(LLIBDIR)/libxech.a |
| 27 |
|
| 28 |
OBJ = listdir.o translations.o commands.o |
| 29 |
|
| 30 |
# DEPENDENCIES: |
| 31 |
all: $(LIB) |
| 32 |
|
| 33 |
|
| 34 |
$(LIB): $(OBJ) |
| 35 |
$(AR) $(AR_OPT) $(LIB) $(OBJ) |
| 36 |
$(RANLIB) $(LIB) |
| 37 |
|
| 38 |
clean: |
| 39 |
rm -f $(OBJ) |