78 lines
1.5 KiB
Makefile
78 lines
1.5 KiB
Makefile
|
#############################################################################
|
||
|
# Makefile for building acquire
|
||
|
# Generated by tmake at 16:03, 2003/06/11
|
||
|
# Project: acquire
|
||
|
# 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_clamp.c
|
||
|
OBJECTS = im_clamp.obj
|
||
|
INTERFACES =
|
||
|
UICDECLS =
|
||
|
UICIMPLS =
|
||
|
SRCMOC =
|
||
|
OBJMOC =
|
||
|
DIST =
|
||
|
TARGET = ..\..\Release\acquire.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: acquire.pro
|
||
|
tmake acquire.pro -o Makefile
|
||
|
|
||
|
dist:
|
||
|
$(ZIP) acquire.zip acquire.pro $(SOURCES) $(HEADERS) $(DIST) $(INTERFACES)
|
||
|
|
||
|
clean:
|
||
|
-del im_clamp.obj
|
||
|
-del $(TARGET)
|
||
|
|
||
|
####### Compile
|
||
|
|
||
|
im_clamp.obj: im_clamp.c
|
||
|
|