2011-05-10 20:18:19 +02:00
|
|
|
############################################################################
|
|
|
|
# apps/interpreters/ficl/Makefile
|
|
|
|
#
|
2021-06-07 17:31:08 +02:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2011-05-10 20:18:19 +02:00
|
|
|
#
|
2021-06-07 17:31:08 +02:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2011-05-10 20:18:19 +02:00
|
|
|
#
|
2021-06-07 17:31:08 +02:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2011-05-10 20:18:19 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2019-10-02 15:06:50 +02:00
|
|
|
BUILDDIR := ${shell echo $(CURDIR) | sed -e 's/ /\\ /g'}
|
2011-05-10 20:18:19 +02:00
|
|
|
|
2020-05-20 06:35:03 +02:00
|
|
|
include $(APPDIR)/Make.defs
|
2011-05-10 20:18:19 +02:00
|
|
|
|
|
|
|
# Tools
|
|
|
|
|
2021-04-13 16:16:52 +02:00
|
|
|
# Include the generated Make.srcs
|
|
|
|
|
|
|
|
-include Make.srcs
|
|
|
|
|
2011-05-10 20:18:19 +02:00
|
|
|
# Include paths
|
|
|
|
|
2020-05-18 21:46:04 +02:00
|
|
|
CFLAGS += ${shell $(INCDIR) "$(CC)" $(BUILDDIR)/$(FICL_SUBDIR) $(BUILDDIR)/src}
|
2011-05-10 20:18:19 +02:00
|
|
|
|
|
|
|
# Source Files
|
|
|
|
|
|
|
|
CSRCS = nuttx.c
|
|
|
|
|
|
|
|
ASRCS += $(FICL_ASRCS)
|
|
|
|
CXXSRCS += $(FICL_CXXSRCS)
|
|
|
|
CSRCS += $(FICL_CSRCS)
|
|
|
|
|
2020-07-29 06:28:00 +02:00
|
|
|
DEPPATH += --dep-path src
|
2011-05-10 20:18:19 +02:00
|
|
|
|
2018-09-03 17:29:56 +02:00
|
|
|
VPATH += :src:$(FICL_SUBDIR)
|
2011-05-10 20:18:19 +02:00
|
|
|
|
2018-09-03 17:29:56 +02:00
|
|
|
include $(APPDIR)/Application.mk
|