Commit 97dda18a authored by Bernd Zeimetz's avatar Bernd Zeimetz

Use CPPFLAGS/CFLAGS.

parent 54df18ef
#!/usr/bin/make -f
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
%:
dh $@ --with systemd
ksmctl: ksmctl.c
gcc $< -O2 -g -o $@
gcc $< -O2 -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
build: ksmctl
dh $@ --with systemd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment