libvips/win32/tmake/libsrc/video/Makefile
2007-08-29 16:23:50 +00:00

83 lines
1.6 KiB
Makefile

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