TOP_DIR = ../


## includes

include $(TOP_DIR)/config.mk


## objects

OBJ = exceptions.o get_file_name.o getopt.o options.o options_getopt.o \
      options_libaqua.o


## main rules

all: $(OBJ)


## objects rules

getopt.o: getopt.c getopt.h

exceptions.o: exceptions.cpp exceptions.h get_file_name.h
get_file_name.o: get_file_name.cpp get_file_name.h
options.o: options.cpp options.h get_file_name.h getopt.h
options_getopt.o: options_getopt.cpp options_getopt.h getopt.h options.h
options_libaqua.o: options_libaqua.cpp options_libaqua.h options_getopt.h \
  getopt.h options.h ../include/version.h


## other rules

clean:
	$(RM) $(OBJ)


.PHONY: all clean
