finish migrating old code to work with gdbus-codegen types, cleaned up config IO...
[systembsd.git] / Makefile
1 .PHONY: all
2
3 CFLAGS=-Wall -Wextra -Werror
4 DEBUGF=-O0 -v -g
5 SRCDIR=src
6 INTFDIR=$(SRCDIR)/interfaces
7 SANITY=-Wno-unused-variable -Wno-unused-parameter
8
9 GLIBF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0`
10
11 main:
12 gcc -o bin/out.bin $(DEBUGF) $(GLIBF) $(SANITY) $(SRCDIR)/main.c
13
14 main-publish:
15 gcc -o bin/out.bin $(CFLAGS) $(GLIBF) $(SANITY) $(SRCDIR)/main.c