#
#  Make file: Makefile
#
#  Module:    project Riemann user interfaces
#
#  Contents:  This make file generates the object files for the project 
#	      Riemann user interfaces.  The userinter.o file and the 
#	      appropriate user interface object file (IGuserinter.o, 
#	      ICuserinter.o, or PCuserinter.o) must be linked with each
#	      project Riemann math program to provide the user interface.
#

INCLDIR= ../include

INCLUDE= -I$(INCLDIR)
DEBUG= -O
CFLAGS= $(DEBUG) $(INCLUDE)
CC= gcc

OBJ= userinter.o IGuserinter.o ICuserinter.o PCuserinter.o
SRC= userinter.c IGuserinter.c ICuserinter.c PCuserinter.c

userinter: $(OBJ)

tags: *.c
	ctags *.c

clean:  
	rm -f $(OBJ) core lint tags

lint: $(SRC)
	lint $(INCLUDE) userinter.c IGuserinter.c > lint
	lint $(INCLUDE) userinter.c ICuserinter.c >> lint
	lint $(INCLUDE) userinter.c PCuserinter.c >> lint
	
maketd:
	maketd $(INCLUDE) $(SRC)

# DO NOT DELETE THIS LINE - maketd DEPENDS ON IT
# Dependencies generated at: Tue Aug  1 20:23:32 EST 1989

ICuserinter.o: ../include/master.h
ICuserinter.o: ../include/userinter.h
ICuserinter.o: ICuserinter.c
IGuserinter.o: ../include/master.h
IGuserinter.o: ../include/userinter.h
IGuserinter.o: IGuserinter.c
PCuserinter.o: ../include/master.h
PCuserinter.o: ../include/userinter.h
PCuserinter.o: PCuserinter.c
userinter.o: ../include/master.h
userinter.o: ../include/userinter.h
userinter.o: userinter.c

# DO NOT ADD ANYTHING HERE - WILL GO AWAY

