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