# -*- Mode: Fundamental -*- 
# This file is part of xnetmaj
# 
# Makefile -- 
# 
# $Id: Makefile,v 1.1 1996/06/21 04:22:26 suz Exp $
# Author          : NBC02365@niftyserve.or.jp
# Created On      : Tue May  9 00:47:26 1995
# Last Modified By: NBC02365@niftyserve.or.jp
# Last Modified On: Fri Sep 29 19:53:35 1995

SRC=readexpr.c expr.c interror.c intinit.c int.c name.c numalloc.c
RANLIB=ranlib

OBJ=$(SRC:.c=.o)

CFLAGS=$(G) $(CCFLAGS) -DPOSIX

all: $(OBJ)
	- /bin/rm libnu.a
	ar ru libnu.a $(OBJ)
	$(RANLIB)  libnu.a
#	cc test.c $(OBJ)

$(OBJ): 

clean:
	/bin/rm -rf *.o *~ *.core core *.a a.out 2> /dev/null

expr.o: expr.c nu.h config.h autoconf.h os.h \
  def.h \
  misc.h var.h exprdef.h hashdef.h declare.h
int.o: int.c nu.h config.h autoconf.h os.h \
  def.h \
  misc.h var.h exprdef.h hashdef.h declare.h
interror.o: interror.c nu.h config.h autoconf.h os.h \
  def.h \
  misc.h var.h exprdef.h hashdef.h declare.h
intinit.o: intinit.c
name.o: name.c nu.h config.h autoconf.h os.h \
  def.h \
  misc.h var.h exprdef.h hashdef.h declare.h
numalloc.o: numalloc.c \
  nu.h \
  config.h autoconf.h os.h \
  def.h \
  misc.h var.h exprdef.h hashdef.h declare.h
readexpr.o: readexpr.c nu.h config.h autoconf.h os.h \
  def.h \
  misc.h var.h exprdef.h hashdef.h declare.h
test.o: test.c nu.h config.h autoconf.h os.h \
  def.h \
  misc.h var.h exprdef.h hashdef.h declare.h
