123 lines
2.3 KiB
Makefile
123 lines
2.3 KiB
Makefile
#############################################################################
|
|
# Makefile for building inplace
|
|
# Generated by tmake at 16:03, 2003/06/11
|
|
# Project: inplace
|
|
# 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_circle.c \
|
|
im_flood.c \
|
|
im_insertplace.c \
|
|
im_line.c \
|
|
im_paintrect.c \
|
|
im_plotmask.c \
|
|
inplace_dispatch.c \
|
|
line_draw.c \
|
|
plot_point.c \
|
|
smudge_area.c
|
|
OBJECTS = im_circle.obj \
|
|
im_flood.obj \
|
|
im_insertplace.obj \
|
|
im_line.obj \
|
|
im_paintrect.obj \
|
|
im_plotmask.obj \
|
|
inplace_dispatch.obj \
|
|
line_draw.obj \
|
|
plot_point.obj \
|
|
smudge_area.obj
|
|
INTERFACES =
|
|
UICDECLS =
|
|
UICIMPLS =
|
|
SRCMOC =
|
|
OBJMOC =
|
|
DIST =
|
|
TARGET = ..\..\Release\inplace.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: inplace.pro
|
|
tmake inplace.pro -o Makefile
|
|
|
|
dist:
|
|
$(ZIP) inplace.zip inplace.pro $(SOURCES) $(HEADERS) $(DIST) $(INTERFACES)
|
|
|
|
clean:
|
|
-del im_circle.obj
|
|
-del im_flood.obj
|
|
-del im_insertplace.obj
|
|
-del im_line.obj
|
|
-del im_paintrect.obj
|
|
-del im_plotmask.obj
|
|
-del inplace_dispatch.obj
|
|
-del line_draw.obj
|
|
-del plot_point.obj
|
|
-del smudge_area.obj
|
|
-del $(TARGET)
|
|
|
|
####### Compile
|
|
|
|
im_circle.obj: im_circle.c
|
|
|
|
im_flood.obj: im_flood.c
|
|
|
|
im_insertplace.obj: im_insertplace.c
|
|
|
|
im_line.obj: im_line.c
|
|
|
|
im_paintrect.obj: im_paintrect.c
|
|
|
|
im_plotmask.obj: im_plotmask.c
|
|
|
|
inplace_dispatch.obj: inplace_dispatch.c
|
|
|
|
line_draw.obj: line_draw.c
|
|
|
|
plot_point.obj: plot_point.c
|
|
|
|
smudge_area.obj: smudge_area.c
|
|
|