| 1 | .PHONY: all |
| 2 | |
| 3 | CFLAGS=-Wall -Wextra -Werror -pedantic |
| 4 | DEBUGF=-O0 -v -g |
| 5 | SRCDIR=src |
| 6 | INTFDIR=$(SRCDIR)/interfaces |
| 7 | |
| 8 | GLIBF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0` |
| 9 | |
| 10 | hostnamed: |
| 11 | gcc -o bin/out.bin $(DEBUGF) $(GLIBF) $(SRCDIR)/main.c |