X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=Makefile;h=caf187f4d8cd0190997e03d95d6c8dc4d169c403;hb=8955f58c951da1402f5eb76bc2a7982548e970f4;hp=40ebc63c75afd5e1d8a15ab6990d1c9de33bfa73;hpb=02ddd666e707983a9856b8218b181af3c42f8ff3;p=blerg.git diff --git a/Makefile b/Makefile index 40ebc63..caf187f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include libs.mk ARCH=$(shell uname -m) -CFLAGS ?= -g +CFLAGS ?= -g -Wall ifeq ($(ARCH),x86_64) CFLAGS += -fPIC endif @@ -13,7 +13,7 @@ HTTP_LIBDIRS = $(MHD_LIBDIR) $(YAJL_LIBDIR) CGI_LIBDIRS = $(CGI_UTIL_LIBDIR) $(YAJL_LIBDIR) targets = blerg.a blerg_auth.a blergtool blerglatest blerg.cgi perl-lib www/build/enyo-blerg.js -blerg_a_objects = database/database.o database/tags.o database/util.o database/configuration.o database/subscription.o common/stringbucket.o +blerg_a_objects = database/database.o database/tags.o database/util.o database/configuration.o database/subscription.o common/stringbucket.o common/stringring.o blerg_auth_a_objects = common/auth.o common/md5.o blergtool_objects = tools/blergtool.o blerg.a blerglatest_objects = tools/blerglatest.o blerg.a common/json.o @@ -101,7 +101,7 @@ install-environment: all docs $(ENV_DIR)/www/css \ $(ENV_DIR)/www/doc/perl \ $(ENV_DIR)/www/images - install --mode 755 blerg.cgi rss.cgi $(ENV_DIR)/lib/cgi-bin/ + install --mode 755 blerg.cgi aux/cgi/*.cgi $(ENV_DIR)/lib/cgi-bin/ install --mode 755 blergtool blerglatest $(ENV_DIR)/bin/ install --mode 644 www/favicon.gif www/favicon.ico www/index.html \ www/welcome.html \