203 lines
3.8 KiB
Makefile
203 lines
3.8 KiB
Makefile
#############################################################################
|
|
# Makefile for building convolution
|
|
# Generated by tmake at 16:03, 2003/06/11
|
|
# Project: convolution
|
|
# 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 = rotmask.c \
|
|
rw_mask.c \
|
|
convol_dispatch.c \
|
|
im_addgnoise.c \
|
|
im_compass.c \
|
|
im_conv.c \
|
|
im_convf.c \
|
|
im_convsep.c \
|
|
im_convsepf.c \
|
|
im_convsub.c \
|
|
im_embed.c \
|
|
im_fastcor.c \
|
|
im_gaussmasks.c \
|
|
im_gaussnoise.c \
|
|
im_gradient.c \
|
|
im_lindetect.c \
|
|
im_logmasks.c \
|
|
im_maxvalue.c \
|
|
im_mpercent.c \
|
|
im_rank.c \
|
|
im_resize_linear.c \
|
|
im_sharpen.c \
|
|
im_shrink.c \
|
|
im_spcor.c \
|
|
im_stretch3.c \
|
|
im_zerox.c
|
|
OBJECTS = rotmask.obj \
|
|
rw_mask.obj \
|
|
convol_dispatch.obj \
|
|
im_addgnoise.obj \
|
|
im_compass.obj \
|
|
im_conv.obj \
|
|
im_convf.obj \
|
|
im_convsep.obj \
|
|
im_convsepf.obj \
|
|
im_convsub.obj \
|
|
im_embed.obj \
|
|
im_fastcor.obj \
|
|
im_gaussmasks.obj \
|
|
im_gaussnoise.obj \
|
|
im_gradient.obj \
|
|
im_lindetect.obj \
|
|
im_logmasks.obj \
|
|
im_maxvalue.obj \
|
|
im_mpercent.obj \
|
|
im_rank.obj \
|
|
im_resize_linear.obj \
|
|
im_sharpen.obj \
|
|
im_shrink.obj \
|
|
im_spcor.obj \
|
|
im_stretch3.obj \
|
|
im_zerox.obj
|
|
INTERFACES =
|
|
UICDECLS =
|
|
UICIMPLS =
|
|
SRCMOC =
|
|
OBJMOC =
|
|
DIST =
|
|
TARGET = ..\..\Release\convolution.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: convolution.pro
|
|
tmake convolution.pro -o Makefile
|
|
|
|
dist:
|
|
$(ZIP) convolution.zip convolution.pro $(SOURCES) $(HEADERS) $(DIST) $(INTERFACES)
|
|
|
|
clean:
|
|
-del rotmask.obj
|
|
-del rw_mask.obj
|
|
-del convol_dispatch.obj
|
|
-del im_addgnoise.obj
|
|
-del im_compass.obj
|
|
-del im_conv.obj
|
|
-del im_convf.obj
|
|
-del im_convsep.obj
|
|
-del im_convsepf.obj
|
|
-del im_convsub.obj
|
|
-del im_embed.obj
|
|
-del im_fastcor.obj
|
|
-del im_gaussmasks.obj
|
|
-del im_gaussnoise.obj
|
|
-del im_gradient.obj
|
|
-del im_lindetect.obj
|
|
-del im_logmasks.obj
|
|
-del im_maxvalue.obj
|
|
-del im_mpercent.obj
|
|
-del im_rank.obj
|
|
-del im_resize_linear.obj
|
|
-del im_sharpen.obj
|
|
-del im_shrink.obj
|
|
-del im_spcor.obj
|
|
-del im_stretch3.obj
|
|
-del im_zerox.obj
|
|
-del $(TARGET)
|
|
|
|
####### Compile
|
|
|
|
rotmask.obj: rotmask.c
|
|
|
|
rw_mask.obj: rw_mask.c
|
|
|
|
convol_dispatch.obj: convol_dispatch.c
|
|
|
|
im_addgnoise.obj: im_addgnoise.c
|
|
|
|
im_compass.obj: im_compass.c
|
|
|
|
im_conv.obj: im_conv.c
|
|
|
|
im_convf.obj: im_convf.c
|
|
|
|
im_convsep.obj: im_convsep.c
|
|
|
|
im_convsepf.obj: im_convsepf.c
|
|
|
|
im_convsub.obj: im_convsub.c
|
|
|
|
im_embed.obj: im_embed.c
|
|
|
|
im_fastcor.obj: im_fastcor.c
|
|
|
|
im_gaussmasks.obj: im_gaussmasks.c
|
|
|
|
im_gaussnoise.obj: im_gaussnoise.c
|
|
|
|
im_gradient.obj: im_gradient.c
|
|
|
|
im_lindetect.obj: im_lindetect.c
|
|
|
|
im_logmasks.obj: im_logmasks.c
|
|
|
|
im_maxvalue.obj: im_maxvalue.c
|
|
|
|
im_mpercent.obj: im_mpercent.c
|
|
|
|
im_rank.obj: im_rank.c
|
|
|
|
im_resize_linear.obj: im_resize_linear.c
|
|
|
|
im_sharpen.obj: im_sharpen.c
|
|
|
|
im_shrink.obj: im_shrink.c
|
|
|
|
im_spcor.obj: im_spcor.c
|
|
|
|
im_stretch3.obj: im_stretch3.c
|
|
|
|
im_zerox.obj: im_zerox.c
|
|
|