8 PRINTS=$(SILENT)$(call info,$(1))
11 $(SILENT)mkdir -p $(dir $@)
12 $(SILENT)mkdir -p $(BMPINCDIR)
13 $(call PRINTS,BMP2RB $<)$(BMP2RB) -h $(BMPINCDIR) $< > $@
15 $(OBJDIR)/%.o: $(OBJDIR)/%.c
16 $(SILENT)mkdir -p $(dir $@)
17 $(call PRINTS,CC $(<F))$(CC) $(CFLAGS) -c $< -o $@
20 $(SILENT)mkdir -p $(dir $(DEPFILE))
21 $(SILENT)rm -f $(DEPFILE)
22 $(SILENT)(for each in $(SOURCES) x; do \
23 if test "x" != "$$each"; then \
24 src=`echo $$each | sed -e 's/\.bmp/.c/'`; \
25 echo $(OBJDIR)/$$src: $$each >> $(DEPFILE) ; \
26 obj=`echo $$each | sed -e 's/\.bmp/.o/'`; \
27 echo $(OBJDIR)/$$obj: $(OBJDIR)/$$src >> $(DEPFILE) ; \
32 $(call PRINTS,AR+RANLIB $(@F))$(AR) ruv $@ $+ >/dev/null 2>&1