Debian Codegraph @

Makefile

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #
2 # Makefile for macfanctl
3 #
4 # Mikael Strom, August 2010
5 #
6
7 CC = gcc
8 CFLAGS = -Wall
9 SBIN_DIR = $(DESTDIR)/usr/sbin
10 ETC_DIR = $(DESTDIR)/etc
11
12 all: macfanctld
13
14 macfanctld: macfanctl.c control.c config.c control.h config.h
15 $(CC) $(CFLAGS) macfanctl.c control.c config.c -o macfanctld
16
17 clean:
18 dh_testdir
19 dh_clean
20 rm -rf *.o macfanctld
21
22 install:
23 dh_installdirs
24 chmod +x macfanctld
25 cp macfanctld $(SBIN_DIR)
26 cp macfanctl.conf $(ETC_DIR)
27
28 uninstall:
29 rm $(SBIN_DIR)/macfanctld $(INITD_DIR)/macfanctl $(ETC_DIR)/macfanctl.conf
30