w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

Makefile.in (772B)


      1 #
      2 # w3mimg/Makefile
      3 #
      4 @SET_MAKE@
      5 SHELL=@SHELL@
      6 srcdir = @srcdir@
      7 top_srcdir = @top_srcdir@
      8 VPATH = $(srcdir):.
      9 CFLAGS=$(OPTS) -I.. -I$(top_srcdir) -I$(srcdir) @CFLAGS@ @CPPFLAGS@ @DEFS@ $(IMGCFLAGS)
     10 AR=ar
     11 RANLIB=@RANLIB@
     12 RM=rm
     13 
     14 SUBDIRS=fb x11 win
     15 IMGCFLAGS=@IMGX11CFLAGS@ @IMGFBCFLAGS@ @IMGWINCFLAGS@
     16 IMGOBJS=@IMGOBJS@
     17 
     18 .PHONY: $(SUBDIRS)
     19 all: @IMGTARGETS@ w3mimg.a
     20 
     21 w3mimg.a: $(IMGOBJS)
     22 	$(AR) rv $@ $(IMGOBJS)
     23 	$(RANLIB) $@
     24 
     25 w3mimg.o: w3mimg.c
     26 	$(CC) $(CFLAGS) -c $<
     27 
     28 $(SUBDIRS):
     29 	cd $@ && $(MAKE) CC="$(CC)" OPTS="$(OPTS)"
     30 
     31 clean:
     32 	@-$(RM) -f *.o
     33 	@for dir in $(SUBDIRS); do \
     34 		(cd $$dir && $(MAKE) clean RM=$(RM)); \
     35 	 done
     36 	-$(RM) -f w3mimg.a
     37 
     38 distclean: clean
     39 	for subdir in $(SUBDIRS); \
     40 	do \
     41 		(cd $$subdir && $(MAKE) distclean); \
     42 	done
     43 	-$(RM) -f Makefile
     44 
     45 
     46 #