home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / lanserv / alias32 / alias32.mak < prev    next >
Text File  |  1999-05-11  |  2KB  |  46 lines

  1. # ALIAS32 LAN Requester Sample Application
  2. #
  3. # (C) COPYRIGHT International Business Machines Corp. 1996
  4. # All Rights Reserved
  5. # Licensed Materials - Property of IBM
  6. #
  7. # US Government Users Restricted Rights - Use, duplication or
  8. # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. #----------------------------------------------------------------------------
  10.  
  11. #===================================================================
  12. # Include the file ibmsamp.inc which defines the various macros
  13. # depending on the target specified.
  14. #===================================================================
  15.  
  16. !include ..\..\ibmsamp.inc
  17.  
  18. all:  $(EXEDIR)\alias32.exe
  19.  
  20. CFLAGS=$(CFLAGS) -DPURE_32
  21.  
  22. #====================================================================
  23. # alias32.obj dependencies
  24. #====================================================================
  25. $(OBJDIR)\alias32.obj: alias32.c
  26.  
  27. #====================================================================
  28. # errmsg.obj dependencies
  29. #====================================================================
  30. $(OBJDIR)\errmsg.obj: errmsg.c
  31.  
  32. OBJS=$(OBJDIR)\alias32.obj $(OBJDIR)\errmsg.obj
  33.  
  34. #====================================================================
  35. # alias32.exe
  36. #   Define the dependencies for alias32.exe and how to build it
  37. #====================================================================
  38. $(EXEDIR)\alias32.exe : $(OBJS) sample32.def
  39.   -$(CREATE_PATH)
  40.   $(LINK) $@ sample32.def $(MTLIBS) + $(LANLIBS) $(OBJS)
  41.  
  42. clean :
  43.         @if exist *.obj del *.obj
  44.         @if exist *.dll del *.dll
  45.         @if exist *.exe del *.exe
  46.