File: rules

package info (click to toggle)
xsol 0.31-14
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 400 kB
  • sloc: ansic: 4,691; makefile: 19
file content (17 lines) | stat: -rwxr-xr-x 326 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

-include /usr/share/dpkg/buildtools.mk

# Use hardening options to build the package
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
LIBS+=-lXm -lXt -lX11

%:
	dh $@

override_dh_auto_build:
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o xsol xsol.c $(LIBS)

override_dh_auto_clean:
	dh_auto_clean
	$(RM) xsol