| 1 |
# .COPYRIGHT: Copyright (c) 1988-2005 European Southern Observatory, |
| 2 |
# all rights reserved |
| 3 |
# .TYPE make file |
| 4 |
# .NAME $MIDASHOME/$MIDVERS/gui/libsrc/comm/makefile |
| 5 |
# .LANGUAGE makefile syntax |
| 6 |
# .ENVIRONMENT Unix Systems. |
| 7 |
# .COMMENT Compiles source files and generates "libcom.a" library. |
| 8 |
# |
| 9 |
# .REMARKS |
| 10 |
# |
| 11 |
# .AUTHOR |
| 12 |
# .VERSION 1.1 920320: Implementation |
| 13 |
# .VERSION 3.0 930308: Using default.mk file |
| 14 |
# 051111 last modif |
| 15 |
|
| 16 |
include ../../../../local/default.mk |
| 17 |
|
| 18 |
LINC = ../../../incl |
| 19 |
LLIBDIR = ../../../lib |
| 20 |
LIB = $(LLIBDIR)/libcom.a |
| 21 |
|
| 22 |
CFLAGS += $(C_OPT) $(DEBUG) $(GUI_OPT) $(SYS) \ |
| 23 |
-I$(LINC) -I$(INC) $(X11INC) $(XMINC) |
| 24 |
|
| 25 |
OBJ = dialog.o misc.o SetResources.o filelist.o |
| 26 |
|
| 27 |
|
| 28 |
# DEPENDENCIES: |
| 29 |
#all: $(MAKEFILE_VMS) $(LIB) |
| 30 |
all: $(LIB) |
| 31 |
|
| 32 |
$(MAKEFILE_VMS): makefile |
| 33 |
$(MAKE_VMS) force |
| 34 |
|
| 35 |
$(LIB): $(OBJ) |
| 36 |
$(AR) $(AR_OPT) $(LIB) $(OBJ) |
| 37 |
$(RANLIB) $(LIB) |
| 38 |
|
| 39 |
clean: |
| 40 |
rm -f $(OBJ) |
| 41 |
|