Difference for ./rules.mak from version 1.12 to 1.13


version 1.12 version 1.13
Line 1
 
Line 1
 LIBDIR = $(TOPDIR)/lib/  LIBDIR = $(TOPDIR)/lib/
   
   include $(TOPDIR)/pre.mak
   
 #Figured its better to put it here than in defines, since its not supposed  #Figured its better to put it here than in defines, since its not supposed
 #to be set by the user, only the maintainer  #to be set by the user, only the maintainer
 D1XMAJOR = 1  D1XMAJOR = 1
Line 27
 
Line 29
  $(CC) $(CFLAGS) $(E_CFLAGS) /Fo$@ $^   $(CC) $(CFLAGS) $(E_CFLAGS) /Fo$@ $^
 %.obj: %.cpp  %.obj: %.cpp
  $(CC) $(CFLAGS) $(E_CFLAGS) /Fo$@ $^   $(CC) $(CFLAGS) $(E_CFLAGS) /Fo$@ $^
 else  else #!ENV_MSVC
 # definitions for gcc  # definitions for gcc
 OBJ = o  OBJ = o
 ARC = a  ARC = a
Line 39
 
Line 41
 endif  endif
 ifdef DEBUG  ifdef DEBUG
 CFLAGS = -g -c -Wall -O -funsigned-char -I$(TOPDIR)/include  CFLAGS = -g -c -Wall -O -funsigned-char -I$(TOPDIR)/include
 else  else #!DEBUG
 ifdef DEBUGABLE  
 CFLAGS = -g -c -Wall -O  -funsigned-char -I$(TOPDIR)/include -DNDEBUG  CFLAGS = -g -c -Wall -O  -funsigned-char -I$(TOPDIR)/include -DNDEBUG
 else  ifndef DEBUGABLE
 CFLAGS = -g -c -Wall -O  -funsigned-char -fomit-frame-pointer -I$(TOPDIR)/include -DNDEBUG  CFLAGS += -fomit-frame-pointer
 endif  endif #!DEBUGABLE
 endif  endif #!DEBUG
 endif  ifdef ENV_CYGWIN
   CFLAGS += -mno-cygwin -mwindows
   LFLAGS += -mno-cygwin -mwindows
   endif #ENV_CYGWIN
   ifdef PROFILE
   CFLAGS += -p
   LFLAGS += -p
   endif #PROFILE
   endif #!ENV_MSVC
 ifndef MONO  ifndef MONO
 CFLAGS += -DNMONO  CFLAGS += -DNMONO
 endif  endif
Line 64
 
Line 73
 endif  endif
 ifdef D1XD3D  ifdef D1XD3D
 CFLAGS += -DD1XD3D  CFLAGS += -DD1XD3D
   endif
   ifdef DXBASE
   CFLAGS += -I$(DXBASE)/include
   LINKLIBS += -L$(DXBASE)/lib
 endif  endif
   
 ifdef NOERROR  ifdef NOERROR

Legend:
line(s) removed in v.1.12 
line(s) changed
 line(s) added in v.1.13