home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Mobile / Chip_Mobile_2001.iso / palm / business / printcar / printcar.exe / src / Makefile < prev    next >
Makefile  |  2000-06-11  |  8KB  |  161 lines

  1. #
  2. # $Id: Makefile,v 1.7 2000/06/10 22:17:57 sergey Exp $
  3. #
  4.  
  5. #DEFINES = -DDEBUG
  6. INCLUDES = -I ./
  7.  
  8. CFLAGS = -O2 -g    $(DEFINES) $(INCLUDES)
  9. CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
  10.  
  11. CC = m68k-palmos-gcc
  12. CXX = m68k-palmos-gcc
  13. PILRC = pilrc
  14. BUILDPRC = build-prc
  15.  
  16. ICONNAME = "Print Card"
  17. APPID = PrCd
  18.  
  19. #################### Files
  20.  
  21. OBJS = PrintCard.o PrintCardForm.o PrintStatusForm.o AddressList.o CardList.o CardRecord.o \
  22.     ScriptTranslationTable.o PrintCardModel.o PrintCardPreferences.o PrintCardPreferencesForm.o \
  23.     DB/Database.o DB/GenericRecord.o DB/ResourceDatabase.o DB/DbError.o DB/AddressAppInfo.o DB/AdresseRecord.o \
  24.     IrDA/IrPort.o IrDA/IrConnection.o IrDA/IrIAS.o  IrDA/IrIasParameters.o IrDA/IrOutputStream.o IrDA/IrError.o \
  25.     UI/Application.o UI/Form.o UI/FormObject.o  UI/List.o UI/ListChoices.o UI/PopupList.o \
  26.     Util/Error.o Util/Assert.o Util/MemBuffer.o Util/AppPreferencesInputStream.o Util/AppPreferencesOutputStream.o \
  27.     Util/TemplateTranslator.o Util/System.o
  28.  
  29. SOURCES = PrintCard.cc PrintCardForm.cc PrintStatusForm.cc AddressList.cc CardList.cc CardRecord.cc \
  30.     ScriptTranslationTable.cc PrintCardModel.cc PrintCardPreferences.cc PrintCardPreferencesForm.cc \
  31.     DB/Database.cc DB/GenericRecord.cc DB/ResourceDatabase.cc DB/DbError.cc DB/AddressAppInfo.cc DB/AdresseRecord.cc \
  32.     IrDA/IrPort.cc IrDA/IrConnection.cc IrDA/IrIAS.cc IrDA/IrIasParameters.cc IrDA/IrOutputStream.cc IrDA/IrError.cc \
  33.     UI/Application.cc UI/Form.cc UI/FormObject.cc UI/List.cc UI/ListChoices.cc UI/PopupList.cc \
  34.     Util/Error.cc Util/Assert.cc Util/MemBuffer.cc Util/AppPreferencesInputStream.cc Util/AppPreferencesOutputStream.cc \
  35.     Util/TemplateTranslator.cc Util/System.cc
  36.  
  37. #################### Rules
  38.  
  39. all: PrintCard.prc
  40.  
  41. .S.o:
  42.     $(CC) $(TARGETFLAGS) -c    $<
  43.  
  44. .c.s:
  45.     $(CC) $(CFLAGS)    $<
  46.  
  47. .cc.s:
  48.     $(CC) $(CFLAGS)    $<
  49.  
  50. PrintCard: $(OBJS) $(LIBS)
  51.     $(CC) $(CFLAGS)    $(OBJS) $(LIBS) -lnoexcept -o $@
  52.  
  53. res.stamp: PrintCard.rcp PrintCardRes.h *.bmp
  54.     $(PILRC) PrintCard.rcp
  55.     touch res.stamp
  56.  
  57. PrintCard.prc: PrintCard res.stamp
  58.     $(BUILDPRC)    -v 1.0 $@ $(ICONNAME) $(APPID) PrintCard *.bin
  59.  
  60. depend:
  61.     @makedepend $(INCLUDES) $(SOURCES) 2> /dev/null
  62.  
  63. clean:
  64.     rm -rf *.[oa] PrintCard *.bin *.stamp PrintCard.prc *.bak
  65.     rm -rf DB/*.[oa]
  66.     rm -rf IrDA/*.[oa]
  67.     rm -rf UI/*.[oa]
  68.     rm -rf Util/*.[oa]
  69.  
  70. # DO NOT DELETE
  71.  
  72. PrintCard.o: UI/Application.h PrintCardForm.h UI/Form.h UI/List.h
  73. PrintCard.o: UI/ConcreteFormObject.h UI/FormObject.h UI/Form.h
  74. PrintCard.o: UI/ListChoices.h UI/PopupList.h UI/List.h PrintStatusForm.h
  75. PrintCard.o: IrDA/IrCallback.h PrintCardModel.h Util/Serializable.h
  76. PrintCard.o: AddressList.h DB/Database.h DB/AdresseRecord.h
  77. PrintCard.o: DB/GenericRecord.h DB/Record.h CardList.h DB/ResourceDatabase.h
  78. PrintCard.o: DB/Database.h CardRecord.h DB/RecordType.h
  79. PrintCard.o: PrintCardPreferences.h Util/Error.h PrintCardRes.h
  80. PrintCardForm.o: PrintCardForm.h UI/Form.h UI/List.h UI/ConcreteFormObject.h
  81. PrintCardForm.o: UI/FormObject.h UI/Form.h UI/ListChoices.h UI/PopupList.h
  82. PrintCardForm.o: UI/List.h PrintStatusForm.h IrDA/IrCallback.h
  83. PrintCardForm.o: PrintCardModel.h Util/Serializable.h AddressList.h
  84. PrintCardForm.o: DB/Database.h DB/AdresseRecord.h DB/GenericRecord.h
  85. PrintCardForm.o: DB/Record.h CardList.h DB/ResourceDatabase.h DB/Database.h
  86. PrintCardForm.o: CardRecord.h DB/RecordType.h PrintCardPreferences.h
  87. PrintCardForm.o: PrintCardPreferencesForm.h UI/ListChoices.h Util/System.h
  88. PrintCardForm.o: Util/Error.h Util/Assert.h PrintCardRes.h
  89. PrintStatusForm.o: PrintStatusForm.h UI/Form.h IrDA/IrCallback.h
  90. PrintStatusForm.o: Util/Assert.h PrintCardRes.h
  91. AddressList.o: AddressList.h DB/Database.h DB/AdresseRecord.h
  92. AddressList.o: DB/GenericRecord.h DB/Record.h Util/Assert.h
  93. CardList.o: CardList.h DB/ResourceDatabase.h DB/Database.h CardRecord.h
  94. CardList.o: DB/RecordType.h DB/GenericRecord.h DB/Record.h Util/Assert.h
  95. CardRecord.o: CardRecord.h DB/RecordType.h DB/GenericRecord.h DB/Record.h
  96. CardRecord.o: DB/ResourceDatabase.h DB/Database.h
  97. ScriptTranslationTable.o: ScriptTranslationTable.h Util/TemplateTranslator.h
  98. ScriptTranslationTable.o: PrintCardPreferences.h Util/Serializable.h
  99. ScriptTranslationTable.o: DB/AdresseRecord.h DB/GenericRecord.h DB/Record.h
  100. ScriptTranslationTable.o: Util/Assert.h
  101. PrintCardModel.o: PrintCardModel.h Util/Serializable.h AddressList.h
  102. PrintCardModel.o: DB/Database.h DB/AdresseRecord.h DB/GenericRecord.h
  103. PrintCardModel.o: DB/Record.h CardList.h DB/ResourceDatabase.h DB/Database.h
  104. PrintCardModel.o: CardRecord.h DB/RecordType.h PrintCardPreferences.h
  105. PrintCardModel.o: ScriptTranslationTable.h Util/TemplateTranslator.h
  106. PrintCardModel.o: UI/ListChoices.h IrDA/IrOutputStream.h Util/OutputStream.h
  107. PrintCardModel.o: IrDA/IrPort.h Util/AppPreferencesInputStream.h
  108. PrintCardModel.o: Util/DataInputStream.h Util/InputStream.h Util/MemBuffer.h
  109. PrintCardModel.o: Util/Serializable.h Util/AppPreferencesOutputStream.h
  110. PrintCardModel.o: Util/DataOutputStream.h Util/OutputStream.h Util/Assert.h
  111. PrintCardPreferences.o: PrintCardPreferences.h Util/Serializable.h
  112. PrintCardPreferences.o: Util/DataOutputStream.h Util/OutputStream.h
  113. PrintCardPreferences.o: Util/DataInputStream.h Util/InputStream.h
  114. PrintCardPreferencesForm.o: PrintCardPreferencesForm.h UI/Form.h
  115. PrintCardPreferencesForm.o: PrintCardPreferences.h Util/Serializable.h
  116. PrintCardPreferencesForm.o: Util/MemBuffer.h Util/Serializable.h
  117. PrintCardPreferencesForm.o: Util/Assert.h PrintCardRes.h
  118. DB/Database.o: DB/Database.h DB/AppInfo.h DB/Record.h DB/DbError.h
  119. DB/Database.o: Util/Assert.h
  120. DB/GenericRecord.o: DB/GenericRecord.h DB/Record.h
  121. DB/ResourceDatabase.o: DB/ResourceDatabase.h DB/Database.h DB/Record.h
  122. DB/ResourceDatabase.o: DB/DbError.h Util/Assert.h
  123. DB/DbError.o: DB/DbError.h Util/Error.h
  124. DB/AddressAppInfo.o: DB/AddressAppInfo.h DB/AppInfo.h
  125. DB/AdresseRecord.o: DB/AdresseRecord.h DB/GenericRecord.h DB/Record.h
  126. DB/AdresseRecord.o: Util/Assert.h
  127. IrDA/IrPort.o: IrDA/IrPort.h IrDA/IrConnection.h IrDA/IrConstants.h
  128. IrDA/IrPort.o: Util/MemBuffer.h Util/Serializable.h IrDA/IrError.h
  129. IrDA/IrPort.o: Util/Error.h Util/Assert.h
  130. IrDA/IrConnection.o: IrDA/IrConnection.h IrDA/IrConstants.h Util/MemBuffer.h
  131. IrDA/IrConnection.o: Util/Serializable.h IrDA/IrCallback.h IrDA/IrIAS.h
  132. IrDA/IrConnection.o: IrDA/IrError.h Util/Assert.h Util/System.h
  133. IrDA/IrIAS.o: IrDA/IrIAS.h IrDA/IrConstants.h IrDA/IrError.h Util/Assert.h
  134. IrDA/IrIAS.o: IrDA/IrIasParameters.h Util/System.h
  135. IrDA/IrIasParameters.o: IrDA/IrIasParameters.h Util/Assert.h
  136. IrDA/IrOutputStream.o: IrDA/IrOutputStream.h Util/OutputStream.h
  137. IrDA/IrOutputStream.o: IrDA/IrPort.h
  138. IrDA/IrError.o: IrDA/IrError.h Util/Error.h
  139. UI/Application.o: UI/Application.h UI/Form.h
  140. UI/Form.o: UI/Form.h Util/Assert.h
  141. UI/FormObject.o: UI/FormObject.h UI/Form.h
  142. UI/List.o: UI/List.h UI/Form.h
  143. UI/ListChoices.o: UI/ListChoices.h Util/Assert.h Util/Error.h
  144. UI/PopupList.o: UI/PopupList.h UI/List.h UI/ConcreteFormObject.h
  145. UI/PopupList.o: UI/FormObject.h UI/Form.h Util/Assert.h
  146. Util/Error.o: Util/Error.h
  147. Util/Assert.o: Util/Assert.h
  148. Util/MemBuffer.o: Util/MemBuffer.h Util/Serializable.h
  149. Util/MemBuffer.o: Util/DataOutputStream.h Util/OutputStream.h
  150. Util/MemBuffer.o: Util/DataInputStream.h Util/InputStream.h Util/Assert.h
  151. Util/MemBuffer.o: Util/Error.h
  152. Util/AppPreferencesInputStream.o: Util/AppPreferencesInputStream.h
  153. Util/AppPreferencesInputStream.o: Util/DataInputStream.h Util/InputStream.h
  154. Util/AppPreferencesInputStream.o: Util/MemBuffer.h Util/Serializable.h
  155. Util/AppPreferencesOutputStream.o: Util/AppPreferencesOutputStream.h
  156. Util/AppPreferencesOutputStream.o: Util/DataOutputStream.h
  157. Util/AppPreferencesOutputStream.o: Util/OutputStream.h Util/MemBuffer.h
  158. Util/AppPreferencesOutputStream.o: Util/Serializable.h
  159. Util/TemplateTranslator.o: Util/TemplateTranslator.h Util/InputStream.h
  160. Util/TemplateTranslator.o: Util/OutputStream.h Util/Assert.h
  161.