mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
extras/complex_numbers/*.m:
Rename files containing submodules so that we can (correctly) build
this library without first building a source file mapping.
extras/complex_numbers/samples/Mmakefile:
extras/complex_numbers/tests/Mmakefile:
Tell the C compiler where the header files for libcomplex_numbers
are.
extras/curs/samples/Mmakefile:
Pass the -I option to the C compiler via the CFLAGS variable, not
the MGNUCFLAGS variable; the latter just causes the mgnuc script
to halt option processing and construct an invalid command line
for the C compiler.
extras/curses/*.m:
Rename files containing submodules so that we can (correctly) build
this library without first building a source file mapping.
extras/curses/mcurses.m:
Style and formatting fixes.
extras/curses/sample/Mmakefile:
Pass the -I option to the C compiler via the CFLAGS variable.
19 lines
717 B
Plaintext
19 lines
717 B
Plaintext
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab
|
|
#-----------------------------------------------------------------------------#
|
|
#
|
|
# 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)
|
|
CFLAGS = -I$(COMPLEX_NUMBERS_DIR)
|
|
MLFLAGS = -R$(COMPLEX_NUMBERS_DIR) -L$(COMPLEX_NUMBERS_DIR)
|
|
MLLIBS = -lcomplex_numbers
|
|
C2INITARGS = $(COMPLEX_NUMBERS_DIR)/complex_numbers.init
|
|
|
|
MAIN_TARGET = fft
|
|
depend: fft.depend
|