home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 Mobile
/
Chip_Mobile_2001.iso
/
palm
/
business
/
printcar
/
printcar.exe
/
src
/
Makefile
< prev
next >
Wrap
Makefile
|
2000-06-11
|
8KB
|
161 lines
#
# $Id: Makefile,v 1.7 2000/06/10 22:17:57 sergey Exp $
#
#DEFINES = -DDEBUG
INCLUDES = -I ./
CFLAGS = -O2 -g $(DEFINES) $(INCLUDES)
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
CC = m68k-palmos-gcc
CXX = m68k-palmos-gcc
PILRC = pilrc
BUILDPRC = build-prc
ICONNAME = "Print Card"
APPID = PrCd
#################### Files
OBJS = PrintCard.o PrintCardForm.o PrintStatusForm.o AddressList.o CardList.o CardRecord.o \
ScriptTranslationTable.o PrintCardModel.o PrintCardPreferences.o PrintCardPreferencesForm.o \
DB/Database.o DB/GenericRecord.o DB/ResourceDatabase.o DB/DbError.o DB/AddressAppInfo.o DB/AdresseRecord.o \
IrDA/IrPort.o IrDA/IrConnection.o IrDA/IrIAS.o IrDA/IrIasParameters.o IrDA/IrOutputStream.o IrDA/IrError.o \
UI/Application.o UI/Form.o UI/FormObject.o UI/List.o UI/ListChoices.o UI/PopupList.o \
Util/Error.o Util/Assert.o Util/MemBuffer.o Util/AppPreferencesInputStream.o Util/AppPreferencesOutputStream.o \
Util/TemplateTranslator.o Util/System.o
SOURCES = PrintCard.cc PrintCardForm.cc PrintStatusForm.cc AddressList.cc CardList.cc CardRecord.cc \
ScriptTranslationTable.cc PrintCardModel.cc PrintCardPreferences.cc PrintCardPreferencesForm.cc \
DB/Database.cc DB/GenericRecord.cc DB/ResourceDatabase.cc DB/DbError.cc DB/AddressAppInfo.cc DB/AdresseRecord.cc \
IrDA/IrPort.cc IrDA/IrConnection.cc IrDA/IrIAS.cc IrDA/IrIasParameters.cc IrDA/IrOutputStream.cc IrDA/IrError.cc \
UI/Application.cc UI/Form.cc UI/FormObject.cc UI/List.cc UI/ListChoices.cc UI/PopupList.cc \
Util/Error.cc Util/Assert.cc Util/MemBuffer.cc Util/AppPreferencesInputStream.cc Util/AppPreferencesOutputStream.cc \
Util/TemplateTranslator.cc Util/System.cc
#################### Rules
all: PrintCard.prc
.S.o:
$(CC) $(TARGETFLAGS) -c $<
.c.s:
$(CC) $(CFLAGS) $<
.cc.s:
$(CC) $(CFLAGS) $<
PrintCard: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) $(OBJS) $(LIBS) -lnoexcept -o $@
res.stamp: PrintCard.rcp PrintCardRes.h *.bmp
$(PILRC) PrintCard.rcp
touch res.stamp
PrintCard.prc: PrintCard res.stamp
$(BUILDPRC) -v 1.0 $@ $(ICONNAME) $(APPID) PrintCard *.bin
depend:
@makedepend $(INCLUDES) $(SOURCES) 2> /dev/null
clean:
rm -rf *.[oa] PrintCard *.bin *.stamp PrintCard.prc *.bak
rm -rf DB/*.[oa]
rm -rf IrDA/*.[oa]
rm -rf UI/*.[oa]
rm -rf Util/*.[oa]
# DO NOT DELETE
PrintCard.o: UI/Application.h PrintCardForm.h UI/Form.h UI/List.h
PrintCard.o: UI/ConcreteFormObject.h UI/FormObject.h UI/Form.h
PrintCard.o: UI/ListChoices.h UI/PopupList.h UI/List.h PrintStatusForm.h
PrintCard.o: IrDA/IrCallback.h PrintCardModel.h Util/Serializable.h
PrintCard.o: AddressList.h DB/Database.h DB/AdresseRecord.h
PrintCard.o: DB/GenericRecord.h DB/Record.h CardList.h DB/ResourceDatabase.h
PrintCard.o: DB/Database.h CardRecord.h DB/RecordType.h
PrintCard.o: PrintCardPreferences.h Util/Error.h PrintCardRes.h
PrintCardForm.o: PrintCardForm.h UI/Form.h UI/List.h UI/ConcreteFormObject.h
PrintCardForm.o: UI/FormObject.h UI/Form.h UI/ListChoices.h UI/PopupList.h
PrintCardForm.o: UI/List.h PrintStatusForm.h IrDA/IrCallback.h
PrintCardForm.o: PrintCardModel.h Util/Serializable.h AddressList.h
PrintCardForm.o: DB/Database.h DB/AdresseRecord.h DB/GenericRecord.h
PrintCardForm.o: DB/Record.h CardList.h DB/ResourceDatabase.h DB/Database.h
PrintCardForm.o: CardRecord.h DB/RecordType.h PrintCardPreferences.h
PrintCardForm.o: PrintCardPreferencesForm.h UI/ListChoices.h Util/System.h
PrintCardForm.o: Util/Error.h Util/Assert.h PrintCardRes.h
PrintStatusForm.o: PrintStatusForm.h UI/Form.h IrDA/IrCallback.h
PrintStatusForm.o: Util/Assert.h PrintCardRes.h
AddressList.o: AddressList.h DB/Database.h DB/AdresseRecord.h
AddressList.o: DB/GenericRecord.h DB/Record.h Util/Assert.h
CardList.o: CardList.h DB/ResourceDatabase.h DB/Database.h CardRecord.h
CardList.o: DB/RecordType.h DB/GenericRecord.h DB/Record.h Util/Assert.h
CardRecord.o: CardRecord.h DB/RecordType.h DB/GenericRecord.h DB/Record.h
CardRecord.o: DB/ResourceDatabase.h DB/Database.h
ScriptTranslationTable.o: ScriptTranslationTable.h Util/TemplateTranslator.h
ScriptTranslationTable.o: PrintCardPreferences.h Util/Serializable.h
ScriptTranslationTable.o: DB/AdresseRecord.h DB/GenericRecord.h DB/Record.h
ScriptTranslationTable.o: Util/Assert.h
PrintCardModel.o: PrintCardModel.h Util/Serializable.h AddressList.h
PrintCardModel.o: DB/Database.h DB/AdresseRecord.h DB/GenericRecord.h
PrintCardModel.o: DB/Record.h CardList.h DB/ResourceDatabase.h DB/Database.h
PrintCardModel.o: CardRecord.h DB/RecordType.h PrintCardPreferences.h
PrintCardModel.o: ScriptTranslationTable.h Util/TemplateTranslator.h
PrintCardModel.o: UI/ListChoices.h IrDA/IrOutputStream.h Util/OutputStream.h
PrintCardModel.o: IrDA/IrPort.h Util/AppPreferencesInputStream.h
PrintCardModel.o: Util/DataInputStream.h Util/InputStream.h Util/MemBuffer.h
PrintCardModel.o: Util/Serializable.h Util/AppPreferencesOutputStream.h
PrintCardModel.o: Util/DataOutputStream.h Util/OutputStream.h Util/Assert.h
PrintCardPreferences.o: PrintCardPreferences.h Util/Serializable.h
PrintCardPreferences.o: Util/DataOutputStream.h Util/OutputStream.h
PrintCardPreferences.o: Util/DataInputStream.h Util/InputStream.h
PrintCardPreferencesForm.o: PrintCardPreferencesForm.h UI/Form.h
PrintCardPreferencesForm.o: PrintCardPreferences.h Util/Serializable.h
PrintCardPreferencesForm.o: Util/MemBuffer.h Util/Serializable.h
PrintCardPreferencesForm.o: Util/Assert.h PrintCardRes.h
DB/Database.o: DB/Database.h DB/AppInfo.h DB/Record.h DB/DbError.h
DB/Database.o: Util/Assert.h
DB/GenericRecord.o: DB/GenericRecord.h DB/Record.h
DB/ResourceDatabase.o: DB/ResourceDatabase.h DB/Database.h DB/Record.h
DB/ResourceDatabase.o: DB/DbError.h Util/Assert.h
DB/DbError.o: DB/DbError.h Util/Error.h
DB/AddressAppInfo.o: DB/AddressAppInfo.h DB/AppInfo.h
DB/AdresseRecord.o: DB/AdresseRecord.h DB/GenericRecord.h DB/Record.h
DB/AdresseRecord.o: Util/Assert.h
IrDA/IrPort.o: IrDA/IrPort.h IrDA/IrConnection.h IrDA/IrConstants.h
IrDA/IrPort.o: Util/MemBuffer.h Util/Serializable.h IrDA/IrError.h
IrDA/IrPort.o: Util/Error.h Util/Assert.h
IrDA/IrConnection.o: IrDA/IrConnection.h IrDA/IrConstants.h Util/MemBuffer.h
IrDA/IrConnection.o: Util/Serializable.h IrDA/IrCallback.h IrDA/IrIAS.h
IrDA/IrConnection.o: IrDA/IrError.h Util/Assert.h Util/System.h
IrDA/IrIAS.o: IrDA/IrIAS.h IrDA/IrConstants.h IrDA/IrError.h Util/Assert.h
IrDA/IrIAS.o: IrDA/IrIasParameters.h Util/System.h
IrDA/IrIasParameters.o: IrDA/IrIasParameters.h Util/Assert.h
IrDA/IrOutputStream.o: IrDA/IrOutputStream.h Util/OutputStream.h
IrDA/IrOutputStream.o: IrDA/IrPort.h
IrDA/IrError.o: IrDA/IrError.h Util/Error.h
UI/Application.o: UI/Application.h UI/Form.h
UI/Form.o: UI/Form.h Util/Assert.h
UI/FormObject.o: UI/FormObject.h UI/Form.h
UI/List.o: UI/List.h UI/Form.h
UI/ListChoices.o: UI/ListChoices.h Util/Assert.h Util/Error.h
UI/PopupList.o: UI/PopupList.h UI/List.h UI/ConcreteFormObject.h
UI/PopupList.o: UI/FormObject.h UI/Form.h Util/Assert.h
Util/Error.o: Util/Error.h
Util/Assert.o: Util/Assert.h
Util/MemBuffer.o: Util/MemBuffer.h Util/Serializable.h
Util/MemBuffer.o: Util/DataOutputStream.h Util/OutputStream.h
Util/MemBuffer.o: Util/DataInputStream.h Util/InputStream.h Util/Assert.h
Util/MemBuffer.o: Util/Error.h
Util/AppPreferencesInputStream.o: Util/AppPreferencesInputStream.h
Util/AppPreferencesInputStream.o: Util/DataInputStream.h Util/InputStream.h
Util/AppPreferencesInputStream.o: Util/MemBuffer.h Util/Serializable.h
Util/AppPreferencesOutputStream.o: Util/AppPreferencesOutputStream.h
Util/AppPreferencesOutputStream.o: Util/DataOutputStream.h
Util/AppPreferencesOutputStream.o: Util/OutputStream.h Util/MemBuffer.h
Util/AppPreferencesOutputStream.o: Util/Serializable.h
Util/TemplateTranslator.o: Util/TemplateTranslator.h Util/InputStream.h
Util/TemplateTranslator.o: Util/OutputStream.h Util/Assert.h