aboutsummaryrefslogtreecommitdiffstats
path: root/fb/Makefile
blob: 0ba7ceaf6b488eb296fd387a2253b4df1b837922 (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

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)