98 lines
1.9 KiB
Makefile
98 lines
1.9 KiB
Makefile
#############################################################################
|
|
# Makefile for building morphology
|
|
# Generated by tmake at 16:03, 2003/06/11
|
|
# Project: morphology
|
|
# 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_cntlines.c \
|
|
im_dilate.c \
|
|
im_erode.c \
|
|
morph_dispatch.c \
|
|
im_profile.c
|
|
OBJECTS = im_cntlines.obj \
|
|
im_dilate.obj \
|
|
im_erode.obj \
|
|
morph_dispatch.obj \
|
|
im_profile.obj
|
|
INTERFACES =
|
|
UICDECLS =
|
|
UICIMPLS =
|
|
SRCMOC =
|
|
OBJMOC =
|
|
DIST =
|
|
TARGET = ..\..\Release\morphology.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: morphology.pro
|
|
tmake morphology.pro -o Makefile
|
|
|
|
dist:
|
|
$(ZIP) morphology.zip morphology.pro $(SOURCES) $(HEADERS) $(DIST) $(INTERFACES)
|
|
|
|
clean:
|
|
-del im_cntlines.obj
|
|
-del im_dilate.obj
|
|
-del im_erode.obj
|
|
-del morph_dispatch.obj
|
|
-del im_profile.obj
|
|
-del $(TARGET)
|
|
|
|
####### Compile
|
|
|
|
im_cntlines.obj: im_cntlines.c
|
|
|
|
im_dilate.obj: im_dilate.c
|
|
|
|
im_erode.obj: im_erode.c
|
|
|
|
morph_dispatch.obj: morph_dispatch.c
|
|
|
|
im_profile.obj: im_profile.c
|
|
|