Move freefall program from Documentation/ to tools/
[sfrench/cifs-2.6.git] / tools / laptop / freefall / Makefile
1 PREFIX ?= /usr
2 SBINDIR ?= sbin
3 INSTALL ?= install
4 CC = $(CROSS_COMPILE)gcc
5
6 TARGET = freefall
7
8 all: $(TARGET)
9
10 %: %.c
11         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
12
13 clean:
14         $(RM) $(TARGET)
15
16 install: freefall
17         $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)