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