begin hostnamed, clean up
[systembsd.git] / Makefile
index 5ccb2e0536f6dc7c0b3a0599fac74492919641cb..27bff7a088f993c42d017cad902b7d1bb02c8acc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
-# use gmake!
-
 .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