# Generated automatically from Makefile.in by configure.


CCINCS = -I. -I.. 

CCCINCS = $(CCINCS)

CCFLAGS = $(CCDEBUG) $(CCDEFS) $(CCINCS) $(LCCCFLAGS)

CCCFLAGS = $(CCCDEBUG) $(CCCDEFS) $(CCCINCS) $(LCCCFLAGS)

CC = gcc

CCC = g++

CPP = /lib/cpp

CCSRCS = \
	fail.c \
	hashfuncs.c

OBJECTS = $(CCSRCS:.c=.o) $(CCCSRCS:.cc=.o)

.SUFFIXES: .cc

.c.o:
	$(CC) $(CCFLAGS) -c $<

.cc.o:
	$(CCC) $(CCCFLAGS) -c $<


all: $(OBJECTS) builtins.data.cpp wk_xref.h
	/bin/rm -f libcommon.a
	ar cq libcommon.a $(OBJECTS)
	ranlib libcommon.a

builtins.data.cpp: builtins.data
	$(CPP) $(CCINCS) $(CCDEFS) -P builtins.data > $@

wk_xref.h: wk_xref.h-make builtins.data.cpp
	./wk_xref.h-make > $@

clean:
	/bin/rm -f *.o *.a
