Revision 2f97b12e common.mak

View differences:

common.mak
89 89

  
90 90
EXAMPLES  := $(addprefix $(SUBDIR),$(addsuffix -example$(EXESUF),$(EXAMPLES)))
91 91
OBJS      := $(addprefix $(SUBDIR),$(sort $(OBJS)))
92
TESTOBJS  := $(addprefix $(SUBDIR),$(TESTOBJS))
92
TESTOBJS  := $(addprefix $(SUBDIR),$(TESTOBJS) $(TESTPROGS:%=%-test.o))
93 93
TESTPROGS := $(addprefix $(SUBDIR),$(addsuffix -test$(EXESUF),$(TESTPROGS)))
94 94
HOSTOBJS  := $(addprefix $(SUBDIR),$(addsuffix .o,$(HOSTPROGS)))
95 95
HOSTPROGS := $(addprefix $(SUBDIR),$(addsuffix $(HOSTEXESUF),$(HOSTPROGS)))
......
111 111
DISTCLEANSUFFIXES = *.pc
112 112
LIBSUFFIXES       = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp
113 113

  
114
-include $(wildcard $(OBJS:.o=.d))
114
-include $(wildcard $(OBJS:.o=.d) $(TESTOBJS:.o=.d))

Also available in: Unified diff