blob: 4fc6286e440e8091fcc8af2f46a42ad50a475e3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#
# 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 @IMGTARGETS@
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
#
|