1
0
Fork 0
flightgear/Simulator/commonrules
curt bda27365e4 Merged in make system changes from Bob Kuehne <rpk@sgi.com>
This should simplify things tremendously.
1998-01-19 19:26:51 +00:00

40 lines
705 B
Makefile

# 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)
$(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
rm -f *.d *.o *.a *.os2 *~ core $(MAKEDEPENDFILE)
#include $(MAKEDEPENDFILE)