############################################################################
#
#                    Copyright by Xel Tech Technologies, 2000
#
#
#  Project:          xxx
#  File:             Makefile
#  Description:      cli library makefile
#  Notes:
#
#############################################################################


# Set defaul values to variables

#XEL_SDK_CFLAGS="-rdynamic -g -DHAVE_CONFIG_H"

CFLAGS += -Wall -rdynamic -g -DHAVE_CONFIG_H -Wno-unused-but-set-variable -Wno-unused-variable

SRC += xlnid_xelmem.c
BIN = xelmem
OBJ_L = $(SRC:.c=.o)

all : $(OBJ_L)
	$(CC) -o $(BIN) $(OBJ_L) -lpthread

#common parts
clean:
	rm -f	$(BIN)
	rm -f	$(OBJ_L)
	rm -f	*.o

%.o: %.c
	$(CC) -o $@ -c $(CFLAGS) $(@:.o=.c)

.PHONY: all
#
