cut out install code that should be handled in makefile
[systembsd.git] / Makefile
CommitLineData
496f5d66 1.PHONY: all
9fd3f859 2
10aafb89 3CFLAGS=-Wall -Wextra -Werror -std=c89 -pedantic
496f5d66 4DEBUGF=-O0 -v -g
5SRCDIR=src
b7f8df44 6INTFDIR=$(SRCDIR)/interfaces
10aafb89 7SANITY=-Wno-unused-variable -Wno-unused-parameter # -Wno-comment
9fd3f859 8
ed99526e 9GLIBF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0`
32a2d8e2 10
10aafb89 11all: build
12
13build:
c3b84b0a 14 gcc -o bin/out.bin $(DEBUGF) $(GLIBF) $(SANITY) $(SRCDIR)/main.c
15
10aafb89 16build-proper:
c3b84b0a 17 gcc -o bin/out.bin $(CFLAGS) $(GLIBF) $(SANITY) $(SRCDIR)/main.c
10aafb89 18
19clean:
20 rm bin/*
21
22install: _install_conf
23
24_install_conf:
25 cp conf/*-dbus.conf /etc/dbus-1/system.d/