Makefile.init
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 07 Feb 2014 09:07:22 +0100
branchdevelopment
changeset 3018 7ff48afbef00
parent 2965 bac7022ca26a
permissions -rw-r--r--
Fixes in natives for non-TRADITIONAL_STACK machines. On some machines stc accesses method arguments through context. To do so, it #defines argumets as simething __context[1]. If then the structure/union member has the same name as parameter, preprocessor expands it and therefore the C code is no longer valid. Solutions is to rename structure/union members - if possible.

#
# DO NOT EDIT
#
# make uses this file (Makefile) only, if there is no
# file named "makefile" (lower-case m) in the same directory.
# My only task is to generate the real makefile and call make again.
# Thereafter, I am no longer used and needed.
#
# MACOSX caveat:
#   as filenames are not case sensitive (in a default setup),
#   we cannot use the above trick. Therefore, this file is now named
#   "Makefile.init", and you have to execute "make -f Makefile.init" to
#   get the initial makefile.  This is now also done by the toplevel CONFIG
#   script.

.PHONY: run

run: makefile
	$(MAKE) -f makefile

#only needed for the definition of $(TOP)
include Make.proto

makefile: mf

mf:
	$(TOP)/rules/stmkmf