From 8d410b5b46191a982bf9dc2e764e6f6d0356f3c5 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 26 Apr 2004 17:00:37 +0000 Subject: [w3m-dev 04073] Re: run configure in another directory * Makefile.in (CFLAGS): include dir here (DEFS): delete include dirs (libwc/libwc.a): pass OPTS only (w3mimg/w3mimg.a): pass OPTS only * libwc/Makefile.in (CFLAGS): fixed * w3mimg/Makefile.in (CFLAGS): added (fb x11): pass OPTS only * w3mimg/fb/Makefile.in (CFLAGS): added * w3mimg/x11/Makefile.in (CFLAGS): added From: Fumitoshi UKAI --- w3mimg/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'w3mimg/Makefile.in') diff --git a/w3mimg/Makefile.in b/w3mimg/Makefile.in index 7c70164..a197352 100644 --- a/w3mimg/Makefile.in +++ b/w3mimg/Makefile.in @@ -6,6 +6,7 @@ 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 @@ -21,10 +22,10 @@ w3mimg.a: $(IMGOBJS) $(RANLIB) $@ w3mimg.o: w3mimg.c - $(CC) $(CFLAGS) $(IMGCFLAGS) -I.. -I$(top_srcdir) -I$(srcdir) -c $< + $(CC) $(CFLAGS) -c $< fb x11: - cd $@ && $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" + cd $@ && $(MAKE) CC="$(CC)" OPTS="$(OPTS)" clean: @-$(RM) -f *.o -- cgit v1.2.3