URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
[/] [zipcpu/] [trunk/] [sim/] [cpp/] [Makefile] - Blame information for rev 204
Go to most recent revision |
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
204 |
dgisselq |
################################################################################
|
| 2 |
|
|
#
|
| 3 |
|
|
# Filename: Makefile
|
| 4 |
|
|
#
|
| 5 |
|
|
# Project: Zip CPU -- a small, lightweight, RISC CPU soft core
|
| 6 |
|
|
#
|
| 7 |
|
|
# Purpose:
|
| 8 |
|
|
#
|
| 9 |
|
|
# Targets:
|
| 10 |
|
|
#
|
| 11 |
|
|
#
|
| 12 |
|
|
# Creator: Dan Gisselquist, Ph.D.
|
| 13 |
|
|
# Gisselquist Technology, LLC
|
| 14 |
|
|
#
|
| 15 |
|
|
################################################################################
|
| 16 |
|
|
#
|
| 17 |
|
|
# Copyright (C) 2017, Gisselquist Technology, LLC
|
| 18 |
|
|
#
|
| 19 |
|
|
# This program is free software (firmware): you can redistribute it and/or
|
| 20 |
|
|
# modify it under the terms of the GNU General Public License as published
|
| 21 |
|
|
# by the Free Software Foundation, either version 3 of the License, or (at
|
| 22 |
|
|
# your option) any later version.
|
| 23 |
|
|
#
|
| 24 |
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
| 25 |
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
|
| 26 |
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
| 27 |
|
|
# for more details.
|
| 28 |
|
|
#
|
| 29 |
|
|
# License: GPL, v3, as defined and found on www.gnu.org,
|
| 30 |
|
|
# http://www.gnu.org/licenses/gpl.html
|
| 31 |
|
|
#
|
| 32 |
|
|
#
|
| 33 |
|
|
################################################################################
|
| 34 |
|
|
#
|
| 35 |
|
|
all: zsim
|
| 36 |
|
|
|
| 37 |
|
|
CXX := g++
|
| 38 |
|
|
FLAGS := -Wall -g
|
| 39 |
|
|
INCS :=
|
| 40 |
|
|
SOURCES := zsim.cpp twoc.cpp zipelf.cpp
|
| 41 |
|
|
LIBS := -lelf
|
| 42 |
|
|
TESTF := $(ZASM)/z.out
|
| 43 |
|
|
DHRYSTONEF := ../asm/zipdhry.z
|
| 44 |
|
|
|
| 45 |
|
|
zsim: $(SOURCES) zipelf.h twoc.h
|
| 46 |
|
|
$(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
|
| 47 |
|
|
|
| 48 |
|
|
.PHONY: clean
|
| 49 |
|
|
clean:
|
| 50 |
|
|
rm -f zsim
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.