Commit 77912e52 authored by dnt's avatar dnt

[project @ 1996-11-26 14:50:20 by dnt]

Removed redundant Makefiles
parent 51ca2f7e
HASKELL = nnhbc
CPPFLAGS += -I$(OPENWINHOME)/include
LDLIBS += -L$(OPENWINHOME)/lib -lxview -lolgx -lX11
LINTS += -I$(OPENWINHOME)/include
CC = cc
XVI = /home/valentine/ss/Haskell/xvi/xvilib.o
fish: Main.o $(XVI)
$(HASKELL) Vector.o Fish_lines.o Fun_geom.o Main.o $(XVI) -o fish
xdrw: xdrw.c
$(CC) $(CPPFLAGS) xdrw.c $(LDLIBS) -o xdrw
Fish_lines.o: Vector.o
Fun_geom.o: Fish_lines.o
Main.o: Fish_lines.o Fun_geom.o
%.o: %.hs
$(HASKELL) -c $<
MODULES = Main.hs Prog.hs Board.hs Wins.hs Tree.hs Game.hs
YMODS = ${MODULES} Libfuns.hs
YINTS=$(YMODS:%.hs=%.hi)
YOBJS=$(YMODS:%.hs=%.o)
HC=hc
HFLAGS =
.PRECIOUS: $(YINTS) $(YOBJS)
%.o: %.hs
${HC} ${HFLAGS} -c $<
%.hi: %.o
@if test ! -f $@ ; then \
rm $< ; \
${MAKE} $@ ; \
fi
main: ${YOBJS}
${HC} ${HFLAGS} -o main ${YOBJS}
# extra dependencies
Libfuns.o :
Wins.o :
Tree.o :
Board.o : Wins.hi
Game.o : Tree.hi Board.hi Wins.hi
Prog.o : Board.hi Wins.hi Tree.hi Game.hi
Main.o : Prog.hi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment