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