OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sim/] [cpp/] [Makefile] - Blame information for rev 209

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 204 dgisselq
################################################################################
2 209 dgisselq
##
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 204 dgisselq
################################################################################
16 209 dgisselq
##
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
## You should have received a copy of the GNU General Public License along
30
## with this program.  (It's in the $(ROOT)/doc directory.  Run make with no
31
## target there if the PDF file isn't present.)  If not, see
32
##  for a copy.
33
##
34
## License:     GPL, v3, as defined and found on www.gnu.org,
35
##              http://www.gnu.org/licenses/gpl.html
36
##
37
##
38 204 dgisselq
################################################################################
39 209 dgisselq
##
40
##
41 204 dgisselq
all: zsim
42
 
43
CXX     := g++
44
FLAGS   := -Wall -g
45
INCS    :=
46
SOURCES := zsim.cpp twoc.cpp zipelf.cpp
47
LIBS    := -lelf
48
TESTF   := $(ZASM)/z.out
49
DHRYSTONEF := ../asm/zipdhry.z
50
 
51
zsim: $(SOURCES) zipelf.h twoc.h
52
        $(CXX) $(FLAGS) $(INCS) $(SOURCES) $(LIBS) -o $@
53
 
54
.PHONY: clean
55
clean:
56
        rm -f zsim

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.