home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / SIMPLPRT.ZIP / HH.MAK next >
Text File  |  1995-05-09  |  807b  |  31 lines

  1. #Makefile to make DTS-type HH files from Opendoc IDL files
  2. #Created: 030995, Kochbeck & modified 041395 by Jolin
  3.  
  4. NAME = simplprt
  5. PLATFORM = -D _PLATFORM_OS2_
  6. OPT = -shh -mnoqualifytypes
  7. CPPBETA = d:\cppbeta
  8. ODDIR = e:\opendoc7
  9. TOOLKIT = d:\toolkit
  10. INCLUDEPATH = .;$(ODDIR)\os2h;$(ODDIR)\include;$(ODDIR)\samples\parts\public;$(CPPBETA)\include;$(CPPBETA)\include\som;$(CPPBETA)\include\os2
  11. #LIBPATH = ..\..\..\lib
  12. LIBPATH = $(ODDIR)\lib
  13. #IDLPATH = ..\..\..\idl
  14. IDLPATH = $(ODDIR)\idl
  15. #PUBLIC=..\public
  16. PUBLIC=$(ODDIR)\samples\parts\public
  17.  
  18. #EMIT's
  19. POLYGON = -D EMIT_POLYGON
  20. TYPES = -D EMIT_GLOBAL_TYPES
  21. GEOTYPES = -D EMIT_GEOTYPES
  22. CONSTANTS = -D EMIT_GLOBAL_CONSTANTS
  23.  
  24. .all: \
  25. $(NAME).hh 
  26.  
  27. .SUFFIXES: .idl .hh
  28.  
  29. .idl.hh:
  30.     sc $(OPT) $(PLATFORM) -I. -I$(IDLPATH) -I$(PUBLIC) %s
  31.