Files
mercury/java/runtime/Mmakefile
Zoltan Somogyi d33273d033 Tell vim not to expand tabs in Makefiles.
This file-specific setting will override a default setting of expandtabs
in $HOME/.vimrc.

*/Makefile:
*/Mmakefile:
    As above.

tests/hard_coded/.gitignore:
    Don't ignore the purity subdir. This ignore must have been left over
    from when purity.m was a test in hard_coded, not hard_coded/purity,
    and it ignored an executable, not a directory.
2015-01-08 22:07:29 +11:00

40 lines
1.0 KiB
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
# Copyright (C) 2004 The University of Melbourne.
# This file may only be copied under the terms of the GNU Library General
# Public License - see the file COPYING.LIB in the Mercury distribution.
#
# This Makefile compiles the shared object for use with
# jmercury.runtime.Native
#
MERCURY_DIR = ../..
RUNTIME_DIR = $(MERCURY_DIR)/runtime
include $(MERCURY_DIR)/Mmake.common
NATIVE_PIC = Native.$(EXT_FOR_PIC_OBJECTS)
NATIVE_SO = Native.$(EXT_FOR_SHARED_LIB)
MAIN_TARGET = $(NATIVE_SO)
PIC_OBJS = $(RUNTIME_DIR)/mercury_timing.$(EXT_FOR_PIC_OBJECTS) \
$(NATIVE_PIC)
CFLAGS = -I$(RUNTIME_DIR)
$(NATIVE_SO): $(PIC_OBJS)
$(LINK_SHARED_OBJ) -o $(NATIVE_SO) $(PIC_OBJS)
$(NATIVE_PIC): Native.c
$(MGNUC) $(ALL_GRADEFLAGS) $(ALL_MGNUCFLAGS) \
$(CFLAGS_FOR_PIC) -o $(NATIVE_PIC) -c Native.c
clean:
rm -f $(PIC_OBJS)
realclean:
rm -f $(PIC_OBJS) $(NATIVE_SO) *.class