198 lines
3.8 KiB
Makefile
198 lines
3.8 KiB
Makefile
#############################################################################
|
|
# Makefile for building colour
|
|
# Generated by tmake at 16:03, 2003/06/11
|
|
# Project: colour
|
|
# 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 = colour.c \
|
|
colour_dispatch.c \
|
|
derived.c \
|
|
im_icc_transform.c \
|
|
im_LCh2Lab.c \
|
|
im_LCh2UCS.c \
|
|
im_Lab2LCh.c \
|
|
im_Lab2LabQ.c \
|
|
im_Lab2LabS.c \
|
|
im_Lab2XYZ.c \
|
|
im_LabQ2Lab.c \
|
|
im_LabQ2LabS.c \
|
|
im_LabQ2disp.c \
|
|
im_LabS2LabQ.c \
|
|
im_LabS2Lab.c \
|
|
im_lab_morph.c \
|
|
im_UCS2LCh.c \
|
|
im_XYZ2Lab.c \
|
|
im_XYZ2Yxy.c \
|
|
im_Yxy2XYZ.c \
|
|
im_XYZ2disp.c \
|
|
im_dE00_fromLab.c \
|
|
im_dECMC_fromLab.c \
|
|
im_dE_fromLab.c \
|
|
im_disp2XYZ.c
|
|
OBJECTS = colour.obj \
|
|
colour_dispatch.obj \
|
|
derived.obj \
|
|
im_icc_transform.obj \
|
|
im_LCh2Lab.obj \
|
|
im_LCh2UCS.obj \
|
|
im_Lab2LCh.obj \
|
|
im_Lab2LabQ.obj \
|
|
im_Lab2LabS.obj \
|
|
im_Lab2XYZ.obj \
|
|
im_LabQ2Lab.obj \
|
|
im_LabQ2LabS.obj \
|
|
im_LabQ2disp.obj \
|
|
im_LabS2LabQ.obj \
|
|
im_LabS2Lab.obj \
|
|
im_lab_morph.obj \
|
|
im_UCS2LCh.obj \
|
|
im_XYZ2Lab.obj \
|
|
im_XYZ2Yxy.obj \
|
|
im_Yxy2XYZ.obj \
|
|
im_XYZ2disp.obj \
|
|
im_dE00_fromLab.obj \
|
|
im_dECMC_fromLab.obj \
|
|
im_dE_fromLab.obj \
|
|
im_disp2XYZ.obj
|
|
INTERFACES =
|
|
UICDECLS =
|
|
UICIMPLS =
|
|
SRCMOC =
|
|
OBJMOC =
|
|
DIST =
|
|
TARGET = ..\..\Release\colour.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: colour.pro
|
|
tmake colour.pro -o Makefile
|
|
|
|
dist:
|
|
$(ZIP) colour.zip colour.pro $(SOURCES) $(HEADERS) $(DIST) $(INTERFACES)
|
|
|
|
clean:
|
|
-del colour.obj
|
|
-del colour_dispatch.obj
|
|
-del derived.obj
|
|
-del im_icc_transform.obj
|
|
-del im_LCh2Lab.obj
|
|
-del im_LCh2UCS.obj
|
|
-del im_Lab2LCh.obj
|
|
-del im_Lab2LabQ.obj
|
|
-del im_Lab2LabS.obj
|
|
-del im_Lab2XYZ.obj
|
|
-del im_LabQ2Lab.obj
|
|
-del im_LabQ2LabS.obj
|
|
-del im_LabQ2disp.obj
|
|
-del im_LabS2LabQ.obj
|
|
-del im_LabS2Lab.obj
|
|
-del im_lab_morph.obj
|
|
-del im_UCS2LCh.obj
|
|
-del im_XYZ2Lab.obj
|
|
-del im_XYZ2Yxy.obj
|
|
-del im_Yxy2XYZ.obj
|
|
-del im_XYZ2disp.obj
|
|
-del im_dE00_fromLab.obj
|
|
-del im_dECMC_fromLab.obj
|
|
-del im_dE_fromLab.obj
|
|
-del im_disp2XYZ.obj
|
|
-del $(TARGET)
|
|
|
|
####### Compile
|
|
|
|
colour.obj: colour.c
|
|
|
|
colour_dispatch.obj: colour_dispatch.c
|
|
|
|
derived.obj: derived.c
|
|
|
|
im_icc_transform.obj: im_icc_transform.c
|
|
|
|
im_LCh2Lab.obj: im_LCh2Lab.c
|
|
|
|
im_LCh2UCS.obj: im_LCh2UCS.c
|
|
|
|
im_Lab2LCh.obj: im_Lab2LCh.c
|
|
|
|
im_Lab2LabQ.obj: im_Lab2LabQ.c
|
|
|
|
im_Lab2LabS.obj: im_Lab2LabS.c
|
|
|
|
im_Lab2XYZ.obj: im_Lab2XYZ.c
|
|
|
|
im_LabQ2Lab.obj: im_LabQ2Lab.c
|
|
|
|
im_LabQ2LabS.obj: im_LabQ2LabS.c
|
|
|
|
im_LabQ2disp.obj: im_LabQ2disp.c
|
|
|
|
im_LabS2LabQ.obj: im_LabS2LabQ.c
|
|
|
|
im_LabS2Lab.obj: im_LabS2Lab.c
|
|
|
|
im_lab_morph.obj: im_lab_morph.c
|
|
|
|
im_UCS2LCh.obj: im_UCS2LCh.c
|
|
|
|
im_XYZ2Lab.obj: im_XYZ2Lab.c
|
|
|
|
im_XYZ2Yxy.obj: im_XYZ2Yxy.c
|
|
|
|
im_Yxy2XYZ.obj: im_Yxy2XYZ.c
|
|
|
|
im_XYZ2disp.obj: im_XYZ2disp.c
|
|
|
|
im_dE00_fromLab.obj: im_dE00_fromLab.c
|
|
|
|
im_dECMC_fromLab.obj: im_dECMC_fromLab.c
|
|
|
|
im_dE_fromLab.obj: im_dE_fromLab.c
|
|
|
|
im_disp2XYZ.obj: im_disp2XYZ.c
|
|
|