#CFLAGS=	-Iinclude -I. -DNO_FLOATINGPOINT -DNO_SCANSTACK -DNO_USG_STDIO -DNO_SYSINFO $(CDEFS)

CFLAGS=	-Iinclude -I. -DNO_FLOATINGPOINT -DNO_SCANSTACK -DNO_USG_STDIO $(CDEFS)

OFILES=make.o readfile.o parse.o update.o rules.o archconf.o memory.o \
	astoi.o astoll.o comerr.o error.o \
	format.o \
	jsprintf.o jssnprintf.o \
	printf.o sprintf.o \
	saveargs.o strcatl.o \
	streql.o getargs.o geterrno.o \
	movebytes.o fillbytes.o raisecond.o rename.o \
	fileopen.o fcons.o cvmod.o flag.o dat.o \
	filewrite.o fileread.o fileseek.o niread.o

smake: $(OFILES)
	$(CC) -o $@ $(OFILES)

clean:
	rm -f xconfig.h rules.cnf *.o config.cache config.log config.status
