# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
SRCS=$(patsubst %,%.nit,$(OBJS))
BINS=$(patsubst %,../bin/%,$(OBJS))
SRCS=$(patsubst %,%.nit,$(OBJS))
BINS=$(patsubst %,../bin/%,$(OBJS))
@echo '***************************************************************'
@echo '* Compile nitc_0 from NIT source files *'
@echo '***************************************************************'
./git-gen-version.sh
@echo '***************************************************************'
@echo '* Compile nitc_0 from NIT source files *'
@echo '***************************************************************'
./git-gen-version.sh
@echo '***************************************************************'
@echo '* Compile binaries from NIT source files *'
@echo '***************************************************************'
./git-gen-version.sh
@echo '***************************************************************'
@echo '* Compile binaries from NIT source files *'
@echo '***************************************************************'
./git-gen-version.sh
./nitc_0 ${NITCOPT} -v --dir ../bin $(SRCS)
$(OBJS): nitc_0 parser/parser.nit
./git-gen-version.sh
./nitc_0 ${NITCOPT} -v $@.nit
./nitc_0 ${NITCOPT} -v --dir ../bin $(SRCS)
$(OBJS): nitc_0 parser/parser.nit
./git-gen-version.sh
./nitc_0 ${NITCOPT} -v $@.nit
@echo '***************************************************************'
@echo '* Compile nitc from C source files *'
@echo '***************************************************************'
cd ../c_src; make
@echo '***************************************************************'
@echo '* Compile nitc from C source files *'
@echo '***************************************************************'
cd ../c_src; make