Working on Makefile structure.
This commit is contained in:
parent
c13dc3a829
commit
7aff56c284
2 changed files with 11 additions and 10 deletions
|
@ -30,15 +30,12 @@ CFILES = MAT3geom.c MAT3inv.c MAT3mat.c MAT3vec.c
|
||||||
HFILES = mat3.h mat3defs.h mat3err.h
|
HFILES = mat3.h mat3defs.h mat3err.h
|
||||||
OFILES = $(CFILES:.c=.o)
|
OFILES = $(CFILES:.c=.o)
|
||||||
|
|
||||||
CC = gcc
|
|
||||||
|
include ../make.inc
|
||||||
|
|
||||||
|
|
||||||
CFLAGS = $(FG_CFLAGS)
|
CFLAGS = $(FG_CFLAGS)
|
||||||
|
|
||||||
AR = ar
|
|
||||||
|
|
||||||
INCLUDES =
|
|
||||||
|
|
||||||
LIBS =
|
|
||||||
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# Primary Targets
|
# Primary Targets
|
||||||
|
@ -49,9 +46,6 @@ $(TARGET): $(OFILES) $(HFILES)
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
# depend:
|
|
||||||
# $(CC) -MM *.c > depend
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(TARGET) lib*.a *~ core
|
rm -f *.o $(TARGET) lib*.a *~ core
|
||||||
|
|
||||||
|
@ -65,6 +59,9 @@ include depend
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# $Log$
|
# $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
|
# Revision 1.5 1997/06/27 20:03:40 curt
|
||||||
# Working on Makefile structure.
|
# Working on Makefile structure.
|
||||||
#
|
#
|
||||||
|
|
4
Math/depend
Normal file
4
Math/depend
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue