# 
# Default target
#

default:: exes

# Get the variables definition
include $(ZK_ROOT)/makefiles/Makefile.vars

# Override and define new variables
ZK_ALL_SRCFILES := \
	test.c \
	$(END_OF_LIST)

ZK_COBJS   := $(ZK_ALL_SRCFILES:.c=.o)

ZK_CPUBEXES = \
	ggetopt \
	$(END_OF_LIST)

# Get the target rules
include $(ZK_ROOT)/makefiles/Makefile.targs

# Add new targets or complement default target using :: rules
tests: $(addprefix $(ZK_BUILDDIR_PUBBIN)/,$(ZK_CPUBEXES))
	$(ZK_BUILDDIR_PUBBIN)/ggetopt -a -b -cfoobar --required foobar --optional=bazbug --none random
	$(ZK_BUILDDIR_PUBBIN)/ggetopt --add dd --append --delete=yes --verbose --create=newfile --file=no


# Specify dependencies
$(addprefix $(ZK_BUILDDIR_PUBBIN)/,$(ZK_CPUBEXES)): $(ZK_FULLCOBJS) -lgnugetopts


