Difference for ./default.mak from version 1.3 to 1.4


version 1.3 version 1.4
Line 5
 
Line 5
   
 CPPFLAGS= $(CFLAGS)  CPPFLAGS= $(CFLAGS)
   
 all: $(SUBDIRS) $(OUTPUT) $(MISCOUTPUT)  all: $(SUBDIRS) $(OUTPUT) $(MISCOUTPUT) $(MISCOBJECTS)
   
 $(SUBDIRS): dummy  $(SUBDIRS): dummy
  make -C $@   make -C $@
Line 29
 
Line 29
 #use dep.dep instead of .depend for dos compatibility.  #use dep.dep instead of .depend for dos compatibility.
 DEPFILE=dep.dep  DEPFILE=dep.dep
 ifdef OUTPUT  ifdef OUTPUT
 DEPOBJ2=$(OBJECTS:.$(OBJ)=.dep2)  DEPOBJ2=$(OBJECTS:.$(OBJ)=.dep2) $(MISCOBJECTS:.$(OBJ)=.dep2)
 endif  endif
   
 #we don't actually create .dep2 files, but we need some way to let make do its  #we don't actually create .dep2 files, but we need some way to let make do its
Line 38
 
Line 38
 %.dep2: %.c  %.dep2: %.c
  $(CC) $(CFLAGS) $(E_CFLAGS) -MM $< >> $(DEPFILE)   $(CC) $(CFLAGS) $(E_CFLAGS) -MM $< >> $(DEPFILE)
 %.dep2: %.cpp  %.dep2: %.cpp
  $(CC) $(CFLAGS) $(E_CFLAGS) -MM $< >> $(DEPFILE)    $(CXX) $(CFLAGS) $(E_CFLAGS) -MM $< >> $(DEPFILE)
 #dunno if this is the "right" way to make null rules, but it seems to work.  #dunno if this is the "right" way to make null rules, but it seems to work.
 %.dep2: %.asm  %.dep2: %.asm
  -   -

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