File: Makefile

package info (click to toggle)
nwutil 1.4-3
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 132 kB
  • ctags: 86
  • sloc: ansic: 1,176; makefile: 63
file content (18 lines) | stat: -rw-r--r-- 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile for NetWinder Utility Programs

CC	 = gcc
CFLAGS	 = -O2 -fsigned-char -omit-frame-pointer -Wall
OBJS 	 = start_wdog set_therm fan_ctrl debug
MANPGS	 = start_wdog.8 set_therm.8 fan_ctrl.8 debug.8
PREFIX	 = $(DESTDIR)/usr

all: $(OBJS)

install: all
	install -d $(PREFIX)/sbin
	install    $(OBJS) $(PREFIX)/sbin
	install -d $(PREFIX)/share/man/man8
	install    $(MANPGS) $(PREFIX)/share/man/man8

clean:
	rm -f .*~ *~ *.o $(OBJS)