Files
mercury/extras/complex_numbers/samples/Mmakefile
Fergus Henderson d23f11ac33 Use sub-modules to package up the modules in extras/complex_numbers
Estimated hours taken: 0.75

Use sub-modules to package up the modules in extras/complex_numbers
into a single module.

extras/complex_numbers/complex_lib.m:
extras/complex_numbers/complex_numbers.m:
	Rename complex_lib.m as complex_numbers.m,
	and modify it to use sub-modules.

extras/complex_numbers/*.m:
extras/complex_numbers/tests/complex_test.m:
extras/complex_numbers/samples/fft.m:
	Add `complex_numbers:' to all of the `:- module'
	and `:- import_module' declarations.

extras/complex_numbers/Mmakefile:
extras/complex_numbers/tests/Mmakefile:
extras/complex_numbers/samples/Mmakefile:
	Modify to reflect the renaming from `complex_lib' to
	`complex_numbers'.
1998-05-29 09:08:43 +00:00

14 lines
494 B
Plaintext

# COMPLEX_NUMBERS_DIR specifies the location of the complex number library,
# e.g. `/foo/bar/mercury-<version>/extra/complex_numbers'.
COMPLEX_NUMBERS_DIR = ..
# The following stuff tells Mmake to use the complex number library
VPATH = $(COMPLEX_NUMBERS_DIR):$(MMAKE_VPATH)
MCFLAGS = -I$(COMPLEX_NUMBERS_DIR)
MLFLAGS = -R$(COMPLEX_NUMBERS_DIR) -L$(COMPLEX_NUMBERS_DIR)
MLLIBS = -lcomplex_numbers
C2INITFLAGS = $(COMPLEX_NUMBERS_DIR)/complex_numbers.init
MAIN_TARGET = fft
depend : fft.depend