File: Makefile

package info (click to toggle)
hwtools 0.5-0.2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,304 kB
  • ctags: 1,213
  • sloc: ansic: 9,522; tcl: 2,140; asm: 802; makefile: 295; sh: 262; cpp: 160; csh: 42
file content (32 lines) | stat: -rw-r--r-- 808 bytes parent folder | download
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
# derived from:

# QIC-02 driver v0.4.1.3 support files v1.6b installation Makefile
# Jeff Stern <jstern@eclectic.ss.uci.edu>
#
# Makefile for installing Hennus Bergman's QIC-02 tape driver support
# files.. This does NOT do *everything* you need to do to install the
# driver.  See README.tape-0.4.1.3 for instructions on doing complete
# installation for latest version..  -js.

# Did some minor edits to avoid installation if user just types ``make''.
# Version stuff is updated from master files to make maintenance
# easier. -- hhb.


SBIN=$(DESTDIR)/sbin
MAN=$(DESTDIR)/usr/man

INSTSTUFF=qic02conf

.PHONY: dummy
dummy: $(INSTSTUFF)

.PHONY: install
install: $(INSTSTUFF)
	cp qic02conf $(SBIN)/

clean::
	-rm -f qic02conf

qic02conf: qic02conf.c
	gcc -I/usr/src/linux/include -g -O2 -Wall -s -o $@ $<