# $Id: Makefile.in,v 1.3 1998/02/23 08:03:40 assar Exp $

srcdir		= @srcdir@
VPATH		= @srcdir@

SHELL		= /bin/sh

CC		= @CC@
DEFS		= @DEFS@ -DHOST=\"@CANONICAL_HOST@\"
CFLAGS		= @CFLAGS@ $(DEFS)

LN_S		= @LN_S@

HEADERS		= atypes.h roken.h

BITS_OBJECTS	= bits.o

SOURCES		= bits.c

all:	$(HEADERS)

install: all

bits:	$(BITS_OBJECTS)
	$(CC) -o $@ $(BITS_OBJECTS)

bits.o: bits.c

atypes.h: bits
	./bits $@

clean:
	rm -f bits *.o $(HEADERS)

Makefile: Makefile.in ../config.status
	cd ..; CONFIG_FILES=include/Makefile CONFIG_HEADERS= ./config.status

roken.h:
	$(LN_S) $(srcdir)/../lib/roken/roken.h .
