tmuck2.4/
tmuck2.4/admin/scripts/
tmuck2.4/docs/
tmuck2.4/minimal-db/
tmuck2.4/minimal-db/data/
tmuck2.4/minimal-db/logs/
tmuck2.4/minimal-db/muf/
tmuck2.4/old/
tmuck2.4/src/
tmuck2.4/src/compile/
tmuck2.4/src/editor/
tmuck2.4/src/game/
tmuck2.4/src/interface/
tmuck2.4/src/scripts/
tmuck2.4/src/utilprogs/
# This makefile inherits many flags from ../Makefile, don't directly
# run make in this directory.
# Makefile,v 2.6 1997/08/29 20:58:50 dmoore Exp

# compile

CFLAGS	=	$(OPTIM) -I../include -I../interp -I. -I..

SRC	=	compile.c \
		macro.c \
		optimize.c

OBJ	=	compile.o \
		macro.o \
		optimize.o

GENHDR	=	../interp/prim_offsets.h

MKFLAGS	=	CC="$(CC)" OPTIM="$(OPTIM)" LDFLAGS="$(LDFLAGS)" \
		AR="$(AR)" RANLIB="$(RANLIB)"

LIB	=	../libcompile.a

SCRIPTS	=	../scripts

$(LIB):	$(OBJ)
	$(AR) $(LIB) $(OBJ)
	$(RANLIB) $(LIB)

depend:	$(GENHDR)
	makedepend -- ${CFLAGS} -- $(SRC)

clean:
	-rm -f $(OBJ) #$(GENHDR)

../interp/prim_offsets.h:
	cd ../interp; make $(MKFLAGS) prim_offsets.h

# Some default dependancies in case they don't have makedepend.

compile.o:	compile.c $(GENHDR)
optimize.o:	optimize.c $(GENHDR)

# DO NOT DELETE THIS LINE -- make depend depends on it.