.EXPORT_ALL_VARIABLES:

TARGET ?= mocactl

$(TARGET)_OFLAG  = -O0
$(TARGET)_CFLAGS = -DRELEASE_VERSION="\"$(VERSION)\"" -Wno-address-of-packed-member

# Source
# ------------------------------------------------------------------------------
SRC = mocalib.c moca_linux.c mocalib-cli.c

# Commands
# ------------------------------------------------------------------------------
all: clean prepare config build stage release install

untar: untar_

patch: patch_

prepare: untar patch

config: config_

build: build_

stage: stage_

release: release_

install: install_

clean: clean_

distclean: distclean_

# Common Makefiles
# ------------------------------------------------------------------------------
COMMON_MAKEFILES_DIR ?= ./makefiles
include $(COMMON_MAKEFILES_DIR)/make.lib
