[go: up one dir, main page]

Menu

[c7f38d]: / util / Makefile.common  Maximize  Restore  History

Download this file

32 lines (24 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: Makefile.common,v 1.9 2005/02/12 01:53:21 tringali Exp $
#
# Platform independent part of make procedure for Nirvana utilities directory,
# included by machine specific makefiles.
#
OBJS = DialogF.o getfiles.o printUtils.o misc.o fileUtils.o \
prefFile.o fontsel.o managedList.o utils.o clearcase.o motif.o
all: libNUtil.a
libNUtil.a: $(OBJS)
$(AR) $(ARFLAGS) libNUtil.a $(OBJS)
printUtils.o: printUtils.c
$(CC) -c $(CFLAGS) $(PRINTFLAGS) printUtils.c
# This is for any platform where bogus OpenMotif or LessTif versions might
# be found in the wild. The rule needs a different name from the executable
# so that the rule continues to fire if the executable exists. Note that we
# do not cache the .o file - this is so if the build fails, you can jump
# and retry on another system without worrying that it will be different.
check_tif_rule: motif.o
$(CC) $(CFLAGS) -o check_lin_tif check_lin_tif.c motif.c
./check_lin_tif
clean:
rm -f $(OBJS) libNUtil.a check_lin_tif
# Get the dependencies for all objects
include Makefile.dependencies