aboutsummaryrefslogtreecommitdiffstats
path: root/fb/Makefile
blob: c7c218b2efd683247b8a77350353f6f3608519ac (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 $(PROGS)

realclean: clean
	rm -f $(PROGS)