From 7aff56c284724f2e139820da963d1ee32ad9368e Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 27 Jun 1997 21:38:14 +0000 Subject: [PATCH] Working on Makefile structure. --- Math/Makefile | 13 +++++-------- Math/depend | 4 ++++ 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 Math/depend diff --git a/Math/Makefile b/Math/Makefile index 34dab00b..5f9355ff 100644 --- a/Math/Makefile +++ b/Math/Makefile @@ -30,14 +30,11 @@ CFILES = MAT3geom.c MAT3inv.c MAT3mat.c MAT3vec.c HFILES = mat3.h mat3defs.h mat3err.h OFILES = $(CFILES:.c=.o) -CC = gcc -CFLAGS = $(FG_CFLAGS) -AR = ar +include ../make.inc -INCLUDES = -LIBS = +CFLAGS = $(FG_CFLAGS) #--------------------------------------------------------------------------- @@ -49,9 +46,6 @@ $(TARGET): $(OFILES) $(HFILES) all: $(TARGET) -# depend: -# $(CC) -MM *.c > depend - clean: rm -f *.o $(TARGET) lib*.a *~ core @@ -65,6 +59,9 @@ include depend #--------------------------------------------------------------------------- # $Log$ +# Revision 1.6 1997/06/27 21:38:14 curt +# Working on Makefile structure. +# # Revision 1.5 1997/06/27 20:03:40 curt # Working on Makefile structure. # diff --git a/Math/depend b/Math/depend new file mode 100644 index 00000000..85534fcc --- /dev/null +++ b/Math/depend @@ -0,0 +1,4 @@ +MAT3geom.o: MAT3geom.c mat3defs.h mat3.h +MAT3inv.o: MAT3inv.c mat3defs.h mat3.h +MAT3mat.o: MAT3mat.c mat3defs.h mat3.h +MAT3vec.o: MAT3vec.c mat3.h -- 2.39.2