# Makefile for libc/strings (MC68000) Vkernel version
#	by Andrew I. Shore
.SUFFIXES: .b .c .s

OBJS = atoi.b atof.b atol.b chrtab.b crypt.b ctype_.b \
	ecvt.b gcvt.b index.b rindex.b \
	strcat.b strcatn.b strcmp.b strcmpn.b strcpy.b strcpyn.b \
	strlen.b strncat.b strncmp.b strncpy.b strsave.b
C68FLAGS =  -I../../libc/xinclude


all: $(OBJS)

# how to make a .b file from a .c file
.c.b:
	cc68 $(C68FLAGS) -O -c $*.c

# how to make a .b file from a .s file
.s.b:
	cc68 $(C68FLAGS) -c $*.s

clean: 
	rm -f *.b *CKP *BAK

backup:
	cd ..; cpdir strings ../../Vbackup/libc/strings
