This defines PDC_STATIC_BUILD for the Win32 target in Watcom. Also, the "clean" target is modified.

--
William McBrine <[EMAIL PROTECTED]>
*** win32/wccwin32.old  2005-05-26 20:04:10.518563136 -0400
--- win32/wccwin32.mak  2005-05-26 20:18:55.957955888 -0400
***************
*** 45,51 ****
  
  CPPFLAGS      = /i=$(PDCURSES_HOME) /i=$(CCINCDIR)
  
! CCFLAGS               = /ei /zq /mf $(CFLAGS) $(CPPFLAGS)
  
  LINK          = wlink
  
--- 45,51 ----
  
  CPPFLAGS      = /i=$(PDCURSES_HOME) /i=$(CCINCDIR)
  
! CCFLAGS               = /ei /zq /mf $(CFLAGS) $(CPPFLAGS) /DPDC_STATIC_BUILD
  
  LINK          = wlink
  
***************
*** 62,69 ****
  
  clean:
        -del *.obj
!       -del curses.lib
!       -del panel.lib
        -del *.exe
  
  demos:        $(DEMOS)
--- 62,68 ----
  
  clean:
        -del *.obj
!       -del *.lib
        -del *.exe
  
  demos:        $(DEMOS)

Reply via email to