# $Header: /cvsroot/posix2/posix2/libext/libc/stringx/Makefile,v 1.1 2000/05/31 09:10:31 veit Exp $

INC = ../../include/

CC = gcc
DEBUG    = -g -O2 -mpentium -D_DEBUG -DDEBUG 

WFLAGS   = -Wall -W -Wmissing-prototypes -Wshadow -Wcast-align \
   -Wpointer-arith -Winline -Wconversion -Wmissing-declarations  
DEFINES  = -D__ST_MT_ERRNO__ -Zmt 
INCLUDE  = -I. -I../../include -I$(X11ROOT)/XFree86/include
CFLAGS  = $(DEFINES) $(DEBUG) $(WFLAGS) $(INCLUDE)

AR     = ar rc
EMXOMF = emxomf
RANLIB = ar s
RM     = rm -f

SRCS = strsep.c strxtens.c bm.c strlcpy.c strmode.c

OBJS = $(SRCS:.c=.o)


all: $(OBJS) 


clean:
	$(RM) *.a *.lib *.o *.obj core a.out

# dependencies
$(OBJS): $(INC)string.h $(INC)stringx.h 
