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

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [tools/] [asm/] [pBlazASM/] [pBlazDIS/] [Makefile] - Rev 2

Compare with Previous | Blame | View Log

#
# makefile for compiling for Windoze using MinGW w/o eclipse
# 16-jul-09     hvk     initial
# 24-jul-09     hvk     fixed echo
# 15-oct-10     hvk     using ''tcc' of http://bellard.org/tcc/ and 'rm' of Xilinx/cygwin
#

## defines

RM = rm
MP = "C:/tcc/tcc.exe"
CC = "C:/tcc/tcc.exe"
 
C_SRCS += \
./pBlazDIS.c \
./pbLibgen.c \
./getopt.c

EXE = "./pBlazDIS.exe"
OBJS = $(C_SRCS:.c=.o)
LIBS = 
INCS = -I$(MP)"/include" -I"./inc"
CFLAGS = $(INCS) -g3 -DWINDOWS -Wall -c -O3 -DTCC -DHAVE_STRING_H

## rules

# All Target
all:    test

test:   $(EXE)
#       $(EXE) -v ../pBlazASM/pBlazASM_Syntax.mem
        $(EXE) -v -6 C:/Users/henk/Documents/KCPSM6_v115/all_kcpsm6_syntax_disasm.hex

# Tool invocations
$(EXE): $(OBJS)
        @echo Building: $(EXE)
        $(CC) -o $@ $^ $(LIBS)
        
%.o : %.c
        @echo Building: "$@"
        $(CC) $(CFLAGS) -o"$@" "$<"

# Other Targets
clean:
        -@echo Clean up: $(OBJS) $(EXE)
        -$(RM) $(OBJS) $(EXE)

.PHONY: all clean
.SECONDARY:

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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