# this is just ready-for-use dietlibc for i386
# only these utils will be compiled

CC=gcc
CFLAGS=-s -Wall -fno-builtin -nostdlib -Iinclude -DDIETHOME=\"./dietlibc\" -DVERSION=\"0.17\"
.c:
	$(CC) $(CFLAGS) $(LDFLAGS) $< bin-i386/start.o bin-i386/dietlibc.a -o $@
all:	diet elftrunc
diet:	diet.c
elftrunc: elftrunc.c
clean:
	rm -f diet elftrunc
