mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 13:23:47 +00:00
samples/c_interface/*:
Replace left over references to the old c_header_code pragma.
Replace some uses of '__' as a module qualifier.
Replace tabs with spaces.
Add some missing words.
29 lines
951 B
Plaintext
29 lines
951 B
Plaintext
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab
|
|
#-----------------------------------------------------------------------------#
|
|
# This source file is hereby placed in the public domain. -fjh (the author).
|
|
#-----------------------------------------------------------------------------#
|
|
MAIN_TARGET=all
|
|
|
|
depend: mercury_main.depend
|
|
all: mercury_main
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# Pass `-g' to the C compiler and linker, so we can use a debugger (e.g. gdb)
|
|
MGNUCFLAGS=-g
|
|
MLFLAGS=-g
|
|
|
|
# Tell the Mercury linker to link in c_main.o and mercury_lib.o
|
|
MLOBJS=c_main.o
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
c_main.o: mercury_lib.mh c_main.h
|
|
|
|
# make sure that `mmake clean' removes c_main.o
|
|
clean_local:
|
|
rm -f c_main.o
|
|
|
|
#-----------------------------------------------------------------------------#
|