aboutsummaryrefslogblamecommitdiffstats
path: root/w3mimg/Makefile.in
blob: d11ab9678b344ab1ae29d8e9145183360942aa41 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                         

               


                                      
                 

              


                          
                              
                    

                  
                                                                           









                                                       
                





                                                     

                          
 
#
# w3mimg/Makefile
#
@SET_MAKE@
SHELL=@SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = $(srcdir):.
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) $(IMGCFLAGS) -I.. -I$(top_srcdir) -I$(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

distclean: clean
	for subdir in fb x11; \
	do \
		(cd $$subdir && $(MAKE) distclean); \
	done
	-$(RM) -f Makefile

	-$(RM) -f Makefile

#