xref: /XiangShan/tools/readmemh/Makefile (revision c6d439803a044ea209139672b25e35fe8d7f4aa0)
1#***************************************************************************************
2# Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3#
4# XiangShan is licensed under Mulan PSL v2.
5# You can use this software according to the terms and conditions of the Mulan PSL v2.
6# You may obtain a copy of Mulan PSL v2 at:
7#          http://license.coscl.org.cn/MulanPSL2
8#
9# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
10# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
11# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
12#
13# See the Mulan PSL v2 for more details.
14#***************************************************************************************
15
16build/verilator-readmemh: split-readmemh.c
17	mkdir -p $(@D)
18	gcc -O2 -Wall -Werror -o $@ $<
19