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