Merge branch 'master' of git+ssh://repo.or.cz/srv/git/fbsplash
[fbsplash.git] / misc / Makefile
blob4f0830d6ebf36d98b8d7dcb7de5966c79a744370
1 SUBDIRS = fbtruetype kbd
2 LIB ?= lib
3 STRIP = strip
5 all: fbres
7 fbres:
8 $(CC) $(CFLAGS) $(LDFLAGS) $@.c -o $@
9 $(STRIP) $@
12 @set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
14 clean:
15 @set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
16 @rm -f *.o fbres
18 install:
19 install -D fbres $(DESTDIR)/$(LIB)/splash/bin/fbres
20 @set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done