Difference for ./rules.mak from version 1.2 to 1.3


version 1.2 version 1.3
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 16
 
Line 18
 LINKLIBS += -lm  LINKLIBS += -lm
 endif  endif
 ifdef DEBUG  ifdef DEBUG
 CFLAGS = -g -c -Wall -O -funsigned-char -I$(TOPDIR)/include  CFLAGS = -g -Wall -O -funsigned-char -I$(TOPDIR)/include
 else  else
 CFLAGS = -g -c -Wall -O  -funsigned-char -fomit-frame-pointer -I$(TOPDIR)/include -DNDEBUG  CFLAGS = -g -Wall -O  -funsigned-char -fomit-frame-pointer -I$(TOPDIR)/include -DNDEBUG
 endif  endif
 ifndef MONO  ifndef MONO
 CFLAGS += -DNMONO  CFLAGS += -DNMONO
Line 146
 
Line 148
 endif  endif
   
 %.o: %.c  %.o: %.c
  $(CC) $(CFLAGS) $(E_CFLAGS) -o $@ $<   $(CC) -c $(CFLAGS) $(E_CFLAGS) -o $@ $<
 %.o: %.asm  %.o: %.asm
  $(NASM) $< -o $@   $(NASM) $< -o $@
 %.o: %.s  %.o: %.s
  $(CC) $(CFLAGS) $(patsubst %.s,%.S,$<) -o $@   $(CC) -c $(CFLAGS) $(patsubst %.s,%.S,$<) -o $@
   
   
 ifdef SUBDIRS  ifdef SUBDIRS

Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3