begin hostnamed, clean up
[systembsd.git] / Makefile
index 631a7abd412341dedd7d4e1b96b9005350a0d125..27bff7a088f993c42d017cad902b7d1bb02c8acc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1 +1,11 @@
-# see next commit
+.PHONY: all
+
+CFLAGS=-Wall -Wextra -Werror -pedantic 
+DEBUGF=-O0 -v -g
+SRCDIR=src
+MODDIR=$(SRCDIR)/modules
+
+GLIBF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0`
+
+hostnamed: 
+       gcc -o bin/out.bin $(DEBUGF) $(GLIBF) $(SRCDIR)/main.c