# The default target all: runtree programs configs # Include configuration s=. -include obj/config.mk obj/config.mk: @echo "You need to run configure first." && false # Do not show strange errors if the BUILDSYS is not set # (it happens if noone called configure as reported above) ifdef BUILDSYS # We will use the libucw build system include $(BUILDSYS)/Maketop EXTRA_RUNDIRS=run # Add the detected flags to all the global flags CFLAGS+=$(LIBUCW_CFLAGS) $(LIBUCW_JSON_CFLAGS) LIBS+=$(LIBUCW_LIBS) $(LIBUCW_JSON_LIBS) include $(s)/server/Makefile include $(s)/client/Makefile # And finally the default rules of the build system include $(BUILDSYS)/Makebottom endif