Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nofib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
nofib
Commits
e63ed44d
Commit
e63ed44d
authored
Nov 26, 1996
by
dnt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 1996-11-26 14:55:21 by dnt]
Removed redundant Makefiles
parent
f31c849b
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
0 additions
and
1552 deletions
+0
-1552
GHC_ONLY/bugs/andy_cherry/Makefile.original
GHC_ONLY/bugs/andy_cherry/Makefile.original
+0
-37
GHC_ONLY/bugs/dmgob_native1/Makefile.original
GHC_ONLY/bugs/dmgob_native1/Makefile.original
+0
-37
GHC_ONLY/bugs/dmgob_native2/Makefile.original
GHC_ONLY/bugs/dmgob_native2/Makefile.original
+0
-50
GHC_ONLY/bugs/ipoole_spec_class/Makefile.original
GHC_ONLY/bugs/ipoole_spec_class/Makefile.original
+0
-51
GHC_ONLY/bugs/waugh_neural/Makefile.original
GHC_ONLY/bugs/waugh_neural/Makefile.original
+0
-23
Makefile.BOOT
Makefile.BOOT
+0
-59
parallel/NESL/Makefile.original
parallel/NESL/Makefile.original
+0
-159
parallel/bom/Makefile.original
parallel/bom/Makefile.original
+0
-111
parallel/coins/Makefile.original
parallel/coins/Makefile.original
+0
-78
parallel/minimax/Makefile.original
parallel/minimax/Makefile.original
+0
-124
parallel/parfact/Makefile.original
parallel/parfact/Makefile.original
+0
-130
parallel/soda/Makefile.original
parallel/soda/Makefile.original
+0
-97
real/HMMS/Makefile.original
real/HMMS/Makefile.original
+0
-152
real/compress2/Makefile.glhc
real/compress2/Makefile.glhc
+0
-36
real/compress2/Makefile.hbc
real/compress2/Makefile.hbc
+0
-37
real/compress2/Makefile.original
real/compress2/Makefile.original
+0
-22
real/ebnf2ps/Makefile.original
real/ebnf2ps/Makefile.original
+0
-91
real/fem/Makefile.original
real/fem/Makefile.original
+0
-76
real/fem/inC/Makefile.original
real/fem/inC/Makefile.original
+0
-25
real/prolog/Makefile.original
real/prolog/Makefile.original
+0
-47
real/veritas/Makefile.original
real/veritas/Makefile.original
+0
-110
No files found.
GHC_ONLY/bugs/andy_cherry/Makefile.original
deleted
100644 → 0
View file @
f31c849b
#
# Makefile for cherry
#
.SUFFIXES
:
.o .lhs
SRC_FILES
=
\
GenUtils.lhs DataTypes.lhs Parser.lhs
\
InterpUtils.lhs Interp.lhs PrintTEX.lhs Main.lhs
OBJ_FILES
=
$(SRC_FILES:.lhs=.o)
PROF
=
#PROF=-auto -prof
#HC = echo
#HC = time hblc-large -M -v -O
HC
=
ghc-0.22
-cpp
-O
-H20M
-hi-diffs
$(PROF)
#HC = ghc-0.19 -cpp -O -H20M -hi-diffs $(PROF)
#
# Now make it with gofer
#
cherry
:
$(OBJ_FILES)
$(HC)
-o
cherry
$(OBJ_FILES)
.lhs.o
:
$(HC)
-c
$<
wc
:
lhsinfo
$(SRC_FILES)
wc
$(SRC_FILES)
gofer_make
:
$(SRC_FILES)
goferc + cherry.prj
export
:
$(SRC_FILES)
gtar cvzf cherry.export
$(SRC_FILES)
Makefile
clean
:
rm
*
.o cherry
mkg
:
hp2ps cherry.hp
ghostview
-seascape
cherry.ps
GHC_ONLY/bugs/dmgob_native1/Makefile.original
deleted
100644 → 0
View file @
f31c849b
HC
=
glhc
HCFLAGS
=
-syslib
hbc
-O
-fglasgow-exts
-osuf
_g.o
-hisuf
_g.hi
-hi-diffs
#HCFLAGS= -syslib hbc -O0 -darity-checks -fglasgow-exts -osuf _g.o -hisuf _g.hi -hi-diffs
HBC
=
hbc
HBCFLAGS
=
-O
CC
=
gcc
CCFLAGS
=
-O
.SUFFIXES
:
.SUFFIXES
:
.lhs .o _g.o
OBJS
=
MaybeStateT.o ReadNative.o
OBJS_g
=
MaybeStateT_g.o ReadNative_g.o
PROGRAMS
=
ReadNative ReadNative_g generate_vectors
all
:
${PROGRAMS}
ReadNative
:
$(OBJS)
${HBC}
${HBCFLAGS}
-o
$@
$(OBJS)
ReadNative_g
:
$(OBJS_g)
${HC}
${HCFLAGS}
-o
$@
$(OBJS_g)
generate_vectors
:
generate_vectors.c
${CC}
${CCFLAGS}
-o
$@
$@
.c
.lhs.o
:
${HBC}
${HBCFLAGS}
-c
$<
.lhs_g.o
:
${HC}
${HCFLAGS}
-c
$<
clean
:
-
/bin/rm
*
.hi
*
.o
${PROGRAMS}
test_data
GHC_ONLY/bugs/dmgob_native2/Makefile.original
deleted
100644 → 0
View file @
f31c849b
HC
=
hbc
HCFLAGS
=
-O
-fpbu
-H16m
GHC
=
glhc
-unregisterised
-darity-checks
-debug
-g
GHCFLAGS
=
-dcore-lint
-osuf
_g.o
-hisuf
_g.hi
-syslib
hbc
-O
-H16m
GHC2
=
ghc-0.19
-fvia-C
GHC2FLAGS
=
-dcore-lint
-osuf
_G.o
-hisuf
_G.hi
-syslib
hbc
-O
-H16m
all
:
lpa lpa_g lpa_G
#------------------------------------------------------------
lpa
:
LPA.o Main.o
${HC}
${HCFLAGS}
-o
$@
Main.o LPA.o
Main.o
:
Main.lhs
${HC}
${HCFLAGS}
-c
Main.lhs
LPA.o
:
LPA.lhs
${HC}
${HCFLAGS}
-c
LPA.lhs
#------------------------------------------------------------
lpa_g
:
LPA_g.o Main_g.o
${GHC}
${GHCFLAGS}
-o
$@
Main_g.o LPA_g.o
Main_g.o
:
Main.lhs
${GHC}
${GHCFLAGS}
-c
Main.lhs
LPA_g.o
:
LPA.lhs
${GHC}
${GHCFLAGS}
-c
LPA.lhs
#------------------------------------------------------------
lpa_G
:
LPA_G.o Main_G.o
${GHC2}
${GHC2FLAGS}
-o
$@
Main_G.o LPA_G.o
Main_G.o
:
Main.lhs
${GHC2}
${GHC2FLAGS}
-c
Main.lhs
LPA_G.o
:
LPA.lhs
${GHC2}
${GHC2FLAGS}
-c
LPA.lhs
#------------------------------------------------------------
clean
:
-
/bin/rm
*
.o
*
.hi lpa
GHC_ONLY/bugs/ipoole_spec_class/Makefile.original
deleted
100644 → 0
View file @
f31c849b
# SCCS: %W% %G%
# HC=hbc
# HCFLAGS=-M
# HC=ghc
HC
=
ghc-0.22
HCFLAGS
=
-cpp
-prof
all
:
SpecClass
OBJS
=
GoferPreludeBits.o Lib.o Io.o JobImp.o JobApp.o Lognum.o SpecClass.o
SpecClass.o SPecClass.hi
:
SpecClass.lhs
$(HC)
-c
$(HCFLAGS)
-auto-all
$*
.lhs
SpecClass
:
$(OBJS)
$(HC)
-o
SpecClass
$(HCFLAGS)
$(OBJS)
%.o %.hi
:
%.lhs
$(HC)
-c
$(HCFLAGS)
$*
.lhs
depend
:
mkdependHS
*
.lhs
touch
depend
clean
:
rm
SpecClass
*
.o
*
.hi
# DO NOT DELETE: Beginning of Haskell dependencies
GoferPreludeBits.o
:
GoferPreludeBits.lhs
Io.o
:
Io.lhs
JobApp.o
:
JobApp.lhs
JobApp.o
:
./Lib.hi
JobApp.o
:
./Io.hi
JobApp.o
:
./JobImp.hi
JobImp.o
:
JobImp.lhs
JobImp.o
:
./Io.hi
Lib.o
:
Lib.lhs
Lib.o
:
./GoferPreludeBits.hi
Lognum.o
:
Lognum.lhs
Lognum.o
:
./Lib.hi
SpecClass.o
:
SpecClass.lhs
SpecClass.o
:
./GoferPreludeBits.hi
SpecClass.o
:
./Io.hi
SpecClass.o
:
./Lib.hi
SpecClass.o
:
./JobImp.hi
SpecClass.o
:
./JobApp.hi
SpecClass.o
:
./Lognum.hi
# DO NOT DELETE: End of Haskell dependencies
GHC_ONLY/bugs/waugh_neural/Makefile.original
deleted
100644 → 0
View file @
f31c849b
HC
=
ghc-0.22
# CFLAGS = -Wall
CFLAGS
=
-Wall
-O
-fvia-C
-O2-for-C
bp
:
BpGen.o ReadLists.o Main.o
$(HC)
$(CFLAGS)
-syslib
hbc
-o
bp Main.o ReadLists.o BpGen.o
strip bp
chmod
700 bp
ReadLists.o
:
ReadLists.lhs
$(HC)
$(CFLAGS)
-c
ReadLists.lhs
BpGen.o
:
BpGen.lhs
$(HC)
$(CFLAGS)
-syslib
hbc
-c
BpGen.lhs
Main.o
:
Main.lhs
$(HC)
$(CFLAGS)
-syslib
hbc
-c
Main.lhs
clean
:
rm
-f
*
.o
*
.hi bp
cp
BpGen.lhs BpGen.bak
cp
ReadLists.lhs ReadLists.bak
cp
Main.lhs Main.bak
Makefile.BOOT
deleted
100644 → 0
View file @
f31c849b
# hand-hacked Makefile to boot the "make world" process
#---------------------------------------------------------------------
# Platform-specific configuration stuff was read from: sun.cf
SHELL
=
/bin/sh
PATHSEP
=
/
#******** NB: TOP setting
TOP
=
..
CURRENT_DIR
=
./nofib
RM
=
rm
-f
MV
=
mv
-f
BOOTSTRAPCFLAGS
=
# Project identification -- name, version, and stuff
PROJECTNAME
=
Booting the Make World System
PROJECTVERSION
=
none
PROJECTLABEL
=
generic
SETUPLABEL
=
std
PROJECTCONFIGDIR
=
###########################################################################
# Configuration stuff (jmake, its friends and templates)
JMKMF
=
jmkmf_used_only_with_installed_utils
JRESTOREDEPS
=
$(JMAKESRC)
/jrestoredeps
JMAKE
=
$(JMAKESRC)
/jmake
JMAKE_DEFINES
=
JMAKESRC
=
$(TOP)
/mkworld
JMAKE_CMD
=
$(NEWTOP)$(JMAKE)
-I
$(NEWTOP)$(JMAKESRC)
$(BOOTSTRAPCFLAGS)
-DTopDir
=
$(TOP)
-DCurDir
=
$(CURRENT_DIR)
$(BOOT_DEFINES)
###########################################################################
Makefile
::
$(JMAKE)
$(JMAKE)
:
@
(
cd
$(JMAKESRC)
;
if
[
-f
Makefile
]
;
then
\
echo
"checking
$@
in
$(JMAKESRC)
first..."
;
$(MAKE)
all
;
else
\
echo
"bootstrapping
$@
from Makefile.BOOT in
$(JMAKESRC)
first..."
;
\
$(MAKE)
-f
Makefile.BOOT
BOOTSTRAPCFLAGS
=
$(BOOTSTRAPCFLAGS)
;
fi
;
\
echo
"okay, continuing in
$(CURRENT_DIR)
"
)
Makefile
::
-
@if
[
-f
Makefile
]
;
then
\
echo
"
$(RM)
Makefile.bak;
$(MV)
Makefile Makefile.bak"
;
\
$(RM)
Makefile.bak
;
$(MV)
Makefile Makefile.bak
;
\
else
exit
0
;
fi
$(JMAKE_CMD)
$(JRESTOREDEPS)
@
if
cmp
-s
Makefile Makefile.bak
;
then
$(RM)
Makefile.bak
;
else
exit
0
;
fi
@
chmod
444 Makefile
@
echo
====
The new Makefile is
for
\:
====
@
$(MAKE)
whoami
parallel/NESL/Makefile.original
deleted
100644 → 0
View file @
f31c849b
# Time-stamp: <Mon Jul 22 1996 11:37:58 Stardate: [-31]7847.21 hwloidl>
# ######################################################################
# .SUFFIXES: .hs .mgo .mpo
LIT2PGM
=
lit2pgm
GHC
=
ghc
GSGHC
=
ghc
-gransim
GSGUM
=
ghc
-parallel
HBCPP
=
hbcpp
EXTRA
=
FLAGS
=
-fvia-C
-cpp
-fglasgow-exts
-fhaskell-1
.3
-syslib
ghc
-syslib
hbc
-DPRINT
-DARGS
-DDATA_PARALLEL
-DDC_PARALLEL
GHC_FLAGS
=
-DSEQ
$(FLAGS)
$(EXTRA)
PROFGHC_FLAGS
=
-DSEQ
-prof
-hisuf
'_p.hi'
-osuf
'_p.o'
$(FLAGS)
$(EXTRA)
GSGHC_FLAGS
=
-USEQ
-hisuf
'_mg.hi'
-osuf
'_mg.o'
$(FLAGS)
$(EXTRA)
GSGUM_FLAGS
=
-USEQ
-hisuf
'_mp.hi'
-osuf
'_mp.o'
$(FLAGS)
$(EXTRA)
HBCPP_FLAGS
=
-M
-DHBCPP
$(FLAGS)
$(EXTRA)
# ######################################################################
# GNU make dependencies
# ######################################################################
%.hs
:
%.lhs
$(LIT2PGM)
-o
$@
$^
%.o
:
%.hs
$(GHC)
$(GHC_FLAGS)
-c
$*
.hs
%_p.o
:
%.hs
$(GHC)
$(PROFGHC_FLAGS)
-c
$*
.hs
%_mg.o
:
%.hs
$(GSGHC)
$(GSGHC_FLAGS)
-c
$*
.hs
%_mp.o
:
%.hs
$(GSGUM)
$(GSGUM_FLAGS)
-c
$*
.hs
%_hbcpp.o
:
%.hs
-
rm
$*
.o
$*
.hi
$(HBCPP)
$(HBCPP_FLAGS)
$(FLAGS)
-c
-o
$*
_hbcpp.o
$*
.hs
-
cp
$*
.hi
$*
_hbcpp.hi
-
mv
$*
.o
$*
_hbcpp.o
## ######################################################################
# Uncomment these lines (and the .SUFFIXES line above) if you use std make
# rather than GNU make
# Replace all _mg.o by .mgo and _mp.o by .mpo below!
## ######################################################################
#.hs.o:
# $(GHC) $(GHC_FLAGS) -c $*.hs
#
#.hs.mgo:
# $(GSGHC) $(GSGHC_FLAGS) -c -o $*.mgo $*.hs
#
#.hs.mpo:
# $(GSGUM) $(GSGUM_FLAGS) -c -o $*.mpo $*.hs
#
# ######################################################################
all
:
seq gransim gum
seq
:
qh fft integrate sieve
gransim
:
qh_mg fft_mg integrate_mg sieve_mg
gum
:
qh_mp fft_mp integrate_mp sieve_mp
# ######################################################################
qh
:
GranRandom.o quick_hull.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
qh_p
:
GranRandom_p.o quick_hull_p.o
$(GHC)
$(PROFGHC_FLAGS)
-o
$@
$^
qh_mp
:
GranRandom_mp.o quick_hull_mp.o
$(GSGUM)
$(GSGUM_FLAGS)
-o
$@
$^
qh_mg
:
StrategiesV_mg.o GranRandom_mg.o quick_hull_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
qh_hbcpp
:
GranRandom_hbcpp.o quick_hull.hs
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
fft
:
StrategiesV.o GranRandom.o fft.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
fft_p
:
StrategiesV_p.o GranRandom_p.o fft_p.o
$(GHC)
$(PROFGHC_FLAGS)
-o
$@
$^
fft_mp
:
StrategiesV_mp.o GranRandom_mp.o fft_mp.o
$(GSGUM)
$(GSGUM_FLAGS)
-o
$@
$^
fft_mg
:
StrategiesV_mg.o GranRandom_mg.o fft_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
fft_hbcpp
:
fft.hs
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
integrate
:
integrate.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
integrate_p
:
StrategiesV_p.o integrate_p.o
$(GHC)
$(PROFGHC_FLAGS)
-o
$@
$^
integrate_mp
:
StrategiesV_mp.o integrate_mp.o
$(GSGUM)
$(GSGUM_FLAGS)
-o
$@
$^
integrate_mg
:
StrategiesV_mg.o integrate_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
integrate_hbcpp
:
integrate.hs
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
sieve
:
sieve.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
sieve_p
:
sieve_p.o
$(GHC)
$(PROFGHC_FLAGS)
-o
$@
$^
sieve_mp
:
sieve_mp.o
$(GSGUM)
$(GSGUM_FLAGS)
-o
$@
$^
sieve_mg
:
StrategiesV_mg.o sieve_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
sieve_hbcpp
:
sieve.hs
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
mi
:
rand.o matrix-inverse.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
mi_p
:
rand_p.o matrix-inverse_p.o
$(GHC)
$(PROFGHC_FLAGS)
-o
$@
$^
mi_mp
:
rand_mp.o matrix-inverse_mp.o
$(GSGUM)
$(GSGUM_FLAGS)
-o
$@
$^
mi_mg
:
StrategiesV_mg.o rand_mg.o matrix-inverse_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
mi_hbcpp
:
matrix-inverse.hs
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
clean
:
-
rm
qh fft integrate sieve qh_mg fft_mg integrate_mg sieve_mg qh_mp fft_mp integrate_mp sieve_mp
*
.o
parallel/bom/Makefile.original
deleted
100644 → 0
View file @
f31c849b
# Time-stamp: <Tue Jul 23 1996 14:23:40 Stardate: [-31]7852.79 hwloidl>
# ######################################################################
# .SUFFIXES: .hs .mgo .mpo
LIT2PGM
=
lit2pgm
GHC
=
ghc
GSGHC
=
ghc
-gransim
GUM
=
ghc
-parallel
HBCPP
=
hbcpp
EXTRA
=
FLAGS
=
-fvia-C
-fglasgow-exts
-cpp
-fhaskell-1
.3
-syslib
hbc
-DPRINT
-DIO13
GHC_FLAGS
=
-DSEQ
-UARGS
$(FLAGS)
$(EXTRA)
GSGHC_FLAGS
=
-USEQ
-UARGS
-hisuf
'_mg.hi'
-osuf
'_mg.o'
$(FLAGS)
$(EXTRA)
GUM_FLAGS
=
-USEQ
-DARGS
-hisuf
'_mp.hi'
-osuf
'_mp.o'
$(FLAGS)
$(EXTRA)
HBCPP_FLAGS
=
-UARGS
-M
-DHBCPP
$(FLAGS)
$(EXTRA)
# ######################################################################
# GNU make dependencies
# ######################################################################
%.hs
:
%.lhs
$(LIT2PGM)
-o
$@
$^
%.o
:
%.hs
$(GHC)
$(GHC_FLAGS)
-c
$*
.hs
%_mg.o
:
%.hs
$(GSGHC)
$(GSGHC_FLAGS)
-c
$*
.hs
%_mp.o
:
%.hs
$(GUM)
$(GUM_FLAGS)
-c
$*
.hs
%_hbcpp.o
:
%.hs
-
rm
$*
.o
$*
.hi
$(HBCPP)
$(HBCPP_FLAGS)
-c
-o
$*
_hbcpp.o
$*
.hs
-
cp
$*
.hi
$*
_hbcpp.hi
-
mv
$*
.o
$*
_hbcpp.o
## ######################################################################
# Uncomment these lines (and the .SUFFIXES line above) if you use std make
# rather than GNU make
# Replace all _mg.o by .mgo and _mp.o by .mpo below!
## ######################################################################
#.hs.o:
# $(GHC) $(GHC_FLAGS) -c $*.hs
#
#.hs.mgo:
# $(GSGHC) $(GSGHC_FLAGS) -c -o $*.mgo $*.hs
#
#.hs.mpo:
# $(GSGUM) $(GSGUM_FLAGS) -c -o $*.mpo $*.hs
#
# ######################################################################
all
:
seq gransim gum
seq
:
bom dNA dNC
gransim
:
bom_mg dNA_mg dNC_mg
gum
:
bom_mp dNA_mp dNC_mp
# ######################################################################
bom
:
StrategiesV.o GranRandom.o bom.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
bom_mp
:
StrategiesV_mp.o GranRandom_mp.o bom_mp.o
$(GUM)
$(GUM_FLAGS)
-o
$@
$^
bom_mg
:
StrategiesV_mg.o GranRandom_mg.o bom_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
bom_hbcpp
:
StrategiesV_hbcpp.o GranRandom_hbcpp.o bom_hbcpp.o
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
dNA
:
StrategiesV.o GranRandom.o dateNaiveAhead.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
dNA_mp
:
StrategiesV_mp.o GranRandom_mp.o dateNaiveAhead_mp.o
$(GUM)
$(GUM_FLAGS)
-o
$@
$^
dNA_mg
:
StrategiesV_mg.o GranRandom_mg.o dateNaiveAhead_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
dNA_hbcpp
:
StrategiesV_hbcpp.o GranRandom_hbcpp.o dateNaiveAhead_hbcpp.o
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
dNC
:
StrategiesV.o GranRandom.o dateNaiveChunk.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
dNC_mp
:
StrategiesV_mp.o GranRandom_mp.o dateNaiveChunk_mp.o
$(GUM)
$(GUM_FLAGS)
-o
$@
$^
dNC_mg
:
StrategiesV_mg.o GranRandom_mg.o dateNaiveChunk_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
dNC_hbcpp
:
StrategiesV_hbcpp.o GranRandom_hbcpp.o dateNaiveChunk_hbcpp.o
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
clean
:
-
rm
bom bom_mp bom_mg bom_hbcpp dNA dNA_mp dNA_mg dNA_hbcpp dNC dNC_mp dNC_mg dNC_hbcpp
*
.o
parallel/coins/Makefile.original
deleted
100644 → 0
View file @
f31c849b
# Time-stamp: <Tue Jul 23 1996 04:12:44 Stardate: [-31]7850.66 hwloidl>
#############################################################################
# .SUFFIXES: .hs .mgo .mpo
GHC
=
ghc
GSGHC
=
ghc
-gransim
GUM
=
ghc
-parallel
HBCPP
=
hbcpp
EXTRA
=
FLAGS
=
-fvia-C
-cpp
-fglasgow-exts
-DNUM
-DPRINT
-DARGS
# -UMAX_PAR -URANDOM_INPUT
GHC_FLAGS
=
-DSEQ
$(FLAGS)
$(EXTRA)
GSGHC_FLAGS
=
-USEQ
-hisuf
'_mg.hi'
-osuf
'_mg.o'
$(FLAGS)
$(EXTRA)
GUM_FLAGS
=
-USEQ
-hisuf
'_mp.hi'
-osuf
'_mp.o'
$(FLAGS)
$(EXTRA)
HBCPP_FLAGS
=
-M
-DHBCPP
$(FLAGS)
$(EXTRA)
# ######################################################################
# GNU make dependencies
# ######################################################################
%.o
:
%.hs
$(GHC)
$(GHC_FLAGS)
-c
$*
.hs
%_mg.o
:
%.hs
$(GSGHC)
$(GSGHC_FLAGS)
-c
$*
.hs
%_mp.o
:
%.hs
$(GUM)
$(GUM_FLAGS)
-c
$*
.hs
%_hbcpp.o
:
%.hs
-
rm
$*
.o
$*
.hi
$(HBCPP)
$(HBCPP_FLAGS)
-c
-o
$*
_hbcpp.o
$*
.hs
-
cp
$*
.hi
$*
_hbcpp.hi
-
mv
$*
.o
$*
_hbcpp.o
## ######################################################################
# Uncomment these lines (and the .SUFFIXES line above) if you use std make
# rather than GNU make
# Replace all _mg.o by .mgo and _mp.o by .mpo below!
## ######################################################################
#.hs.o:
# $(GHC) $(GHC_FLAGS) -c $*.hs
#
#.hs.mgo:
# $(GSGHC) $(GSGHC_FLAGS) -c -o $*.mgo $*.hs
#
#.hs.mpo:
# $(GSGUM) $(GSGUM_FLAGS) -c -o $*.mpo $*.hs
#
# ######################################################################
all
:
seq gransim gum
seq
:
coins
gransim
:
coins_mg
gum
:
coins_mp
# ######################################################################
coins
:
ParForce.o coins.o
$(GHC)
$(GHC_FLAGS)
-o
$@
$^
coins_mp
:
ParForce_mp.o coins_mp.o
$(GUM)
$(GUM_FLAGS)
-o
$@
$^
coins_mg
:
ParForce_mg.o coins_mg.o
$(GSGHC)
$(GSGHC_FLAGS)
-o
$@
$^
coins_hbcpp
:
ParForce_hbcpp.o coins_hbcpp.o
$(HBCPP)
$(HBCPP_FLAGS)
-o
$@
$^
# ######################################################################
clean
:
-
rm
coins_mg coins coins_hbcpp
*
.o
\ No newline at end of file
parallel/minimax/Makefile.original
deleted
100644 → 0
View file @
f31c849b
MODULES
=
ParForce.hs Game.hs Tree.hs Wins.hs Board.hs Prog.hs Main.hs
YMODS
=
${MODULES}
YINTS
=
$(YMODS:%.hs=%.hi)
YINTS_mg
=
$(YMODS:%.hs=%_mg.hi)
YINTS_mp
=
$(YMODS:%.hs=%_mp.hi)
YINTS_hbcpp
=
$(YMODS:%.hs=%_hbcpp.hi)
YOBJS
=
$(YMODS:%.hs=%.o)
YOBJS_mg
=
$(YMODS:%.hs=%_mg.o)
YOBJS_mp
=
$(YMODS:%.hs=%_mp.o)
YOBJS_hbcpp
=
$(YMODS:%.hs=%_hbcpp.o)
GHC
=
ghc
GSGHC
=
ghc
-gransim
GUM
=
ghc
-parallel
HBCPP
=
hbcpp
EXTRA
=
FLAGS
=
-fvia-C
-fglasgow-exts
-cpp
-DPRINT
-DARGS
GHC_FLAGS
=
-DSEQ
$(FLAGS)
$(EXTRA)
GSGHC_FLAGS
=
-USEQ
-hisuf
'_mg.hi'
-osuf
'_mg.o'
$(FLAGS)
$(EXTRA)
GUM_FLAGS
=
-USEQ
-hisuf
'_mp.hi'
-osuf
'_mp.o'
$(FLAGS)
$(EXTRA)
HBCPP_FLAGS
=
-M
-DHBCPP
$(FLAGS)
$(EXTRA)
.PRECIOUS
:
$(YINTS) $(YOBJS)
# ######################################################################
# GNU make dependencies
# ######################################################################
%.o
:
%.hs
$(GHC)
$(GHC_FLAGS)