(1) regenerate leaner genfiles, we're not using the object manager functionality...
[systembsd.git] / Makefile
... / ...
CommitLineData
1.PHONY: all
2
3CFLAGS=-Wall -Wextra -Werror -std=c89
4DEBUGF=-O0 -v -g
5SRCDIR=src
6INTFDIR=$(SRCDIR)/interfaces
7SANITY=-Wno-unused-variable -Wno-unused-parameter # -Wno-comment
8
9GLIBF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0`
10
11all: build
12
13build:
14 gcc -o bin/out.bin $(DEBUGF) $(GLIBF) $(SANITY) $(SRCDIR)/main.c
15
16publish:
17 gcc -o bin/out.bin $(CFLAGS) $(GLIBF) $(SANITY) $(SRCDIR)/main.c
18
19clean:
20 rm bin/*
21
22install: _install_conf
23
24_install_conf:
25 cp conf/*-dbus.conf /etc/dbus-1/system.d/
26 cp conf/systemd_compat.conf /etc/