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

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [tools/] [asm/] [pBlazASM/] [pBlazDIS/] [Makefile] - Blame information for rev 59

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ameziti
#
2
# makefile for compiling for Windoze using MinGW w/o eclipse
3
# 16-jul-09     hvk     initial
4
# 24-jul-09     hvk     fixed echo
5
# 15-oct-10     hvk     using ''tcc' of http://bellard.org/tcc/ and 'rm' of Xilinx/cygwin
6
#
7
 
8
## defines
9
 
10
RM = rm
11
MP = "C:/tcc/tcc.exe"
12
CC = "C:/tcc/tcc.exe"
13
 
14
C_SRCS += \
15
./pBlazDIS.c \
16
./pbLibgen.c \
17
./getopt.c
18
 
19
EXE = "./pBlazDIS.exe"
20
OBJS = $(C_SRCS:.c=.o)
21
LIBS =
22
INCS = -I$(MP)"/include" -I"./inc"
23
CFLAGS = $(INCS) -g3 -DWINDOWS -Wall -c -O3 -DTCC -DHAVE_STRING_H
24
 
25
## rules
26
 
27
# All Target
28
all:    test
29
 
30
test:   $(EXE)
31
#       $(EXE) -v ../pBlazASM/pBlazASM_Syntax.mem
32
        $(EXE) -v -6 C:/Users/henk/Documents/KCPSM6_v115/all_kcpsm6_syntax_disasm.hex
33
 
34
# Tool invocations
35
$(EXE): $(OBJS)
36
        @echo Building: $(EXE)
37
        $(CC) -o $@ $^ $(LIBS)
38
 
39
%.o : %.c
40
        @echo Building: "$@"
41
        $(CC) $(CFLAGS) -o"$@" "$<"
42
 
43
# Other Targets
44
clean:
45
        -@echo Clean up: $(OBJS) $(EXE)
46
        -$(RM) $(OBJS) $(EXE)
47
 
48
.PHONY: all clean
49
.SECONDARY:

powered by: WebSVN 2.1.0

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