aboutsummaryrefslogblamecommitdiffstats
path: root/w3mimg/Makefile.in
blob: ad327c2e9631c75e4a7b2b36aeaed119547e1c19 (plain) (tree)



























                                                          
#
# w3mimg/Makefile
#
@SET_MAKE@
SHELL=@SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = $(srcdir):.
RM=rm

IMGCFLAGS=@IMGX11CFLAGS@ @IMGFBCFLAGS@

.PHONY: fb x11
all: w3mimg.o fb x11

w3mimg.o: w3mimg.c
	$(CC) $(CFLAGS) $(IMGCFLAGS) -I$(top_srcdir) -c $<

fb x11:
	cd $@ && $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"

clean:
	@-$(RM) -f *.o
	@for dir in fb x11; do \
		(cd $$dir && $(MAKE) clean RM=$(RM)); \
	 done

#