# This is a generated Makefile
# Last Generated on: Wed Jul 28 01:00:36 EDT 1999
# Edit depend/Options.gcc, depend/Sources then run "depend/dep.pl"

# hybris makefile (0.5.2) for FSF GNU tools
DISPLAY = ncurses
LIBS += -lncurses
RM = rm -f
O = .o
EXEC =
OPTS = -g -O1 -Wall -pedantic 
LOPTS =

default:: build


hybris$(O): hybris.c event.h loadpepe.h cows.h hybris.c display.h vtree.h tree.h
	$(CC) $(OPTS) -o$@ -c hybris.c


event$(O): event.c event.h event.c
	$(CC) $(OPTS) -o$@ -c event.c


cows$(O): cows.c event.h cows.h display.h cows.c
	$(CC) $(OPTS) -o$@ -c cows.c


$(DISPLAY)$(O): $(DISPLAY).c event.h display.h
	$(CC) $(OPTS) -o$@ -c $(DISPLAY).c


tree$(O): tree.c tree.c tree.h
	$(CC) $(OPTS) -o$@ -c tree.c


loadpepe$(O): loadpepe.c loadpepe.h loadpepe.c tree.h
	$(CC) $(OPTS) -o$@ -c loadpepe.c


vtree$(O): vtree.c event.h vtext.h cows.h keys.h display.h vtree.h tree.h vtree.c
	$(CC) $(OPTS) -o$@ -c vtree.c


vtext$(O): vtext.c vtext.h cows.h keys.h tree.h event.h vtext.c vtree.h display.h
	$(CC) $(OPTS) -o$@ -c vtext.c

OBJS = hybris$(O) event$(O) cows$(O) $(DISPLAY)$(O) tree$(O) loadpepe$(O) vtree$(O) vtext$(O)

build:: hybris$(EXEC)

hybris$(EXEC): $(OBJS)
	$(CC) $(LOPTS) -o$@ $(OBJS) $(LIBS)

clean::
	$(RM) $(OBJS) hybris$(EXEC) core

# rebuilding the makefile requires Perl
depend::
	depend/dep.pl

