SRCS=main.c
TARGET=bs_gseen

all: language
install: lang_install
clean: clean2
distclean: clean2

include ../Makefile.sub

# Here we force rebuild the index on every make since we suck at detecting changes..s
language:
	(rm -f *.o; )
	(cd lang ; $(MAKE) ${MAKEARGS} spotless all index.h ; )


lang_install:
	(cd lang ; $(MAKE) ${MAKEARGS} install ; )

clean2:
	(rm -f index.h;)