diff options
Diffstat (limited to '')
-rw-r--r-- | w3mimg/Makefile.in | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/w3mimg/Makefile.in b/w3mimg/Makefile.in new file mode 100644 index 0000000..a197352 --- /dev/null +++ b/w3mimg/Makefile.in @@ -0,0 +1,45 @@ +# +# w3mimg/Makefile +# +@SET_MAKE@ +SHELL=@SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = $(srcdir):. +CFLAGS=$(OPTS) -I.. -I$(top_srcdir) -I$(srcdir) @CFLAGS@ @CPPFLAGS@ @DEFS@ $(IMGCFLAGS) +AR=ar +RANLIB=@RANLIB@ +RM=rm + +IMGCFLAGS=@IMGX11CFLAGS@ @IMGFBCFLAGS@ +IMGOBJS=@IMGOBJS@ + +.PHONY: fb x11 +all: @IMGTARGETS@ w3mimg.a + +w3mimg.a: $(IMGOBJS) + $(AR) rv $@ $(IMGOBJS) + $(RANLIB) $@ + +w3mimg.o: w3mimg.c + $(CC) $(CFLAGS) -c $< + +fb x11: + cd $@ && $(MAKE) CC="$(CC)" OPTS="$(OPTS)" + +clean: + @-$(RM) -f *.o + @for dir in fb x11; do \ + (cd $$dir && $(MAKE) clean RM=$(RM)); \ + done + -$(RM) -f w3mimg.a + +distclean: clean + for subdir in fb x11; \ + do \ + (cd $$subdir && $(MAKE) distclean); \ + done + -$(RM) -f Makefile + + +# |