aboutsummaryrefslogtreecommitdiffstats
path: root/fb/Makefile
blob: 52958edf0b82d4da9192be5b91600693b5b54c39 (plain)
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

VERSION := 0.1.1

prefix=/usr/
bindir=$(prefix)/bin

CFLAGS=-g -O2 -Wall \
	-DVERSION='"$(VERSION)"'

PROGS=progress fbresolution

all: $(PROGS)

check:
	/bin/true

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)