File: Makefile

package info (click to toggle)
etbemon 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,624 kB
  • sloc: perl: 18,038; cpp: 546; sh: 428; ansic: 407; makefile: 71
file content (14 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ALLPROGS=btrfs.helper zfs.helper smartctl.helper hplog.helper

all: $(ALLPROGS)

# use -Wno-write-strings to make it easy to deal with exec() taking pointers
# to non-const data
WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -pedantic -Wno-write-strings
CC=gcc -O2 -g $(WFLAGS)

%: %.cpp
	$(CC) $< -o $@

clean: 
	rm -f $(ALLPROGS)