#
# Make rules common to all target platforms.
# This file is included by the individual target makefiles in the
# lower level platform build directories.
#

HFILES += nhttp.h

HFILES_I += NHTTP_bgnend.h NHTTP_control.h \
            NHTTP_list.h NHTTP_recvbuf.h \
            NHTTP_request.h NHTTP_response.h \
            NHTTP_thread.h \
            NHTTPlib_int.h NHTTPlib_int_socket.h \
            d_def.h d_nhttp_common.h

CFILES += NHTTP_bgnend.c NHTTP_control.c NHTTP_list.c \
          NHTTP_recvbuf.c NHTTP_request.c NHTTP_response.c \
          NHTTP_thread.c \
          d_nhttp.c d_nhttp_common.c d_nhttp_private.c

default: $(TARGETS)

$(TARGETS): %: %($(OBJECTS))
	ar cru $@ $?

