File: rules

package info (click to toggle)
switchsh 0~20070801-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 60 kB
  • ctags: 9
  • sloc: ansic: 98; makefile: 10; sh: 9
file content (17 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_HARDENING=1

CFLAGS += -pedantic -Werror -Wextra -Wformat -Wformat-security

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

build/switchsh::
	 $(CC) $(CFLAGS) -s switchsh.c -o switchsh

install/switchsh::
	cp switchsh $(DEB_DESTDIR)/usr/bin/

clean::
	$(RM) switchsh