108 lines
2.0 KiB
Makefile
108 lines
2.0 KiB
Makefile
#############################################################################
|
|
# Makefile for building matrix
|
|
# Generated by tmake at 16:03, 2003/06/11
|
|
# Project: matrix
|
|
# Template: lib
|
|
#############################################################################
|
|
|
|
####### Compiler, tools and options
|
|
|
|
CC = cl
|
|
CXX = cl
|
|
CFLAGS = -nologo -W3 -O1 -DHAVE_CONFIG_H -DNO_DEBUG
|
|
CXXFLAGS= -nologo -W3 -O1 -DHAVE_CONFIG_H -DNO_DEBUG
|
|
INCPATH = -I"..\.." -I"..\..\include" -I"$(QTDIR)\include"
|
|
LIB = lib /NOLOGO
|
|
MOC = moc
|
|
UIC = uic
|
|
|
|
ZIP = zip -r -9
|
|
|
|
####### Files
|
|
|
|
HEADERS = ..\..\config.h
|
|
SOURCES = im_invmat.c \
|
|
im_matcat.c \
|
|
im_matinv.c \
|
|
im_matmul.c \
|
|
im_mattrn.c \
|
|
matalloc.c \
|
|
matrix_dispatch.c
|
|
OBJECTS = im_invmat.obj \
|
|
im_matcat.obj \
|
|
im_matinv.obj \
|
|
im_matmul.obj \
|
|
im_mattrn.obj \
|
|
matalloc.obj \
|
|
matrix_dispatch.obj
|
|
INTERFACES =
|
|
UICDECLS =
|
|
UICIMPLS =
|
|
SRCMOC =
|
|
OBJMOC =
|
|
DIST =
|
|
TARGET = ..\..\Release\matrix.lib
|
|
INTERFACE_DECL_PATH = .
|
|
|
|
####### Implicit rules
|
|
|
|
.SUFFIXES: .cpp .cxx .cc .c
|
|
|
|
.cpp.obj:
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
|
|
|
|
.cxx.obj:
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
|
|
|
|
.cc.obj:
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
|
|
|
|
.c.obj:
|
|
$(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
|
|
|
|
####### Build rules
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
|
|
$(LIB) /OUT:$(TARGET) @<<
|
|
$(OBJECTS) $(OBJMOC)
|
|
<<
|
|
|
|
moc: $(SRCMOC)
|
|
|
|
tmake: Makefile
|
|
|
|
Makefile: matrix.pro
|
|
tmake matrix.pro -o Makefile
|
|
|
|
dist:
|
|
$(ZIP) matrix.zip matrix.pro $(SOURCES) $(HEADERS) $(DIST) $(INTERFACES)
|
|
|
|
clean:
|
|
-del im_invmat.obj
|
|
-del im_matcat.obj
|
|
-del im_matinv.obj
|
|
-del im_matmul.obj
|
|
-del im_mattrn.obj
|
|
-del matalloc.obj
|
|
-del matrix_dispatch.obj
|
|
-del $(TARGET)
|
|
|
|
####### Compile
|
|
|
|
im_invmat.obj: im_invmat.c
|
|
|
|
im_matcat.obj: im_matcat.c
|
|
|
|
im_matinv.obj: im_matinv.c
|
|
|
|
im_matmul.obj: im_matmul.c
|
|
|
|
im_mattrn.obj: im_mattrn.c
|
|
|
|
matalloc.obj: matalloc.c
|
|
|
|
matrix_dispatch.obj: matrix_dispatch.c
|
|
|