1998-01-19 19:26:51 +00:00
|
|
|
# emacs make tag: -*- Mode: Makefile -*-
|
|
|
|
|
|
|
|
default: $(TARGETS)
|
|
|
|
|
|
|
|
.SUFFIXES: .d .cxx .c .o
|
|
|
|
|
|
|
|
$(ARLIBRARY): $(OBJECTS)
|
|
|
|
$(AR) rv $(ARLIBRARY) $(OBJECTS)
|
|
|
|
$(RANLIB) $(ARLIBRARY)
|
|
|
|
echo $(VPATH)
|
|
|
|
$(MV) $(ARLIBRARY) $(FG_ROOT_LIB)
|
1998-01-21 21:11:33 +00:00
|
|
|
touch $(FG_ROOT_LIB)/stamp_libs
|
1998-01-19 19:26:51 +00:00
|
|
|
|
|
|
|
$(LDLIBTARGET): $(OBJECTS)
|
|
|
|
$(LD) -o $(LDLIBRARY) $(LDFLAGS) $(OBJECTS)
|
|
|
|
$(MV) $(LDLIBRARY) $(LDLIBTARGET)
|
|
|
|
|
|
|
|
depend: $(DEPENDS)
|
|
|
|
cat $(DEPENDS) > $(MAKEDEPENDFILE)
|
|
|
|
|
|
|
|
.cxx.d:
|
|
|
|
$(CPP) $(CPPFLAGS) $(CPPDEFS) -c $< -MD
|
|
|
|
|
|
|
|
.cxx.o:
|
|
|
|
$(CPP) $(CPPFLAGS) $(CPPDEFS) -c $<
|
|
|
|
|
|
|
|
.c.d:
|
|
|
|
$(CC) $(CFLAGS) $(CDEFS) -c $< -MD
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) $(CDEFS) -c $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJECTS) $(TARGET) $(DIRT)
|
|
|
|
|
|
|
|
clobber: clean
|
1998-02-09 22:56:28 +00:00
|
|
|
rm -f *.d *.o *.a *.os2 *~ core # $(MAKEDEPENDFILE)
|
1998-01-19 19:26:51 +00:00
|
|
|
|
1998-02-09 22:56:28 +00:00
|
|
|
include $(MAKEDEPENDFILE)
|
1998-01-19 19:26:51 +00:00
|
|
|
|
|
|
|
|