aboutsummaryrefslogtreecommitdiffstats
path: root/fb/Makefile
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2002-02-26 13:03:50 +0000
committerFlorent Villard <warly@mandriva.com>2002-02-26 13:03:50 +0000
commit3cff136600d3450105b7f7274f5033895827fa3b (patch)
treecdc43f3d1e61d48ca6c03425c2fb991003158e2d /fb/Makefile
parent0a5f7e13d78f0ca73820ba7308b5244625e29fdd (diff)
downloadbootsplash-3cff136600d3450105b7f7274f5033895827fa3b.tar
bootsplash-3cff136600d3450105b7f7274f5033895827fa3b.tar.gz
bootsplash-3cff136600d3450105b7f7274f5033895827fa3b.tar.bz2
bootsplash-3cff136600d3450105b7f7274f5033895827fa3b.tar.xz
bootsplash-3cff136600d3450105b7f7274f5033895827fa3b.zip
added fb tools:
fbresolution to detect current framebuffer resolution progress to display a colord rectangle in framebuffer
Diffstat (limited to 'fb/Makefile')
-rw-r--r--fb/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/fb/Makefile b/fb/Makefile
new file mode 100644
index 0000000..0ba7cea
--- /dev/null
+++ b/fb/Makefile
@@ -0,0 +1,29 @@
+
+VERSION := 0.1.1
+
+prefix=/usr/
+bindir=$(prefix)/bin
+
+CFLAGS=-g -O2 -Wall \
+ -DVERSION='"$(VERSION)"'
+
+PROGS=progress fbresolution
+
+all build: $(PROGS)
+
+fbresolution: fbresolution.c
+ $(CC) $(CFLAGS) -o $@ fbresolution.c
+
+progress: progress.c
+ $(CC) $(CFLAGS) $(FSFLAGS) -o $@ progress.c
+
+install:
+ mkdir -p $(bindir)
+ install -s -m755 progress $(bindir)
+ install -m755 fbresolution $(bindir)
+
+clean:
+ rm -f *~ *.o *.bak core
+
+realclean: clean
+ rm -f $(PROGS)