Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Thu, Dec 26, 09:19

Makefile

# $Id: Makefile,v 1.2 2004/10/12 09:06:17 marquet Exp $
##############################################################################
ROOTDIR=/home/enseign/ASE
CC = g++
CFLAGS = -Wall
###------------------------------
### Main targets
###------------------------------------------------------------
BINARIES= main
all: $(BINARIES)
###------------------------------
### Main rules
###------------------------------------------------------------
io.o: io.cpp io.hpp LinSys.hpp Vector_Matrix.hpp
$(CC) $(CFLAGS) -c io.cpp $(INCDIR)
LinSys.o: LinSys.cpp LinSys.hpp Vector_Matrix.hpp io.hpp
$(CC) $(CFLAGS) -c LinSys.cpp $(INCDIR)
Vector_Matrix.o: Vector_Matrix.cpp Vector_Matrix.hpp io.hpp
$(CC) $(CFLAGS) -c Vector_Matrix.cpp $(INCDIR)
main.o: main.cpp Vector_Matrix.hpp io.hpp LinSys.hpp
$(CC) $(CFLAGS) -c main.cpp $(INCDIR)
main: main.o Vector_Matrix.o LinSys.o io.o
$(CC) $(CFLAGS) -o Linear_System main.o Vector_Matrix.o LinSys.o io.o $(LIBS)
###------------------------------
### Misc.
###------------------------------------------------------------
.PHONY: clean realclean depend
clean:
$(RM) *.o $(BINARIES)

Event Timeline