X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=blobdiff_plain;f=Makefile;h=27bff7a088f993c42d017cad902b7d1bb02c8acc;hp=5ccb2e0536f6dc7c0b3a0599fac74492919641cb;hb=ea207ed3d155cde4001063c981f7a263c47daf64;hpb=9fd3f859f758d01727ccb30b130f2052eac3b66f diff --git a/Makefile b/Makefile index 5ccb2e0..27bff7a 100644 --- 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