URL
https://opencores.org/ocsvn/copyblaze/copyblaze/trunk
Subversion Repositories copyblaze
[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [tools/] [asm/] [pBlazASM/] [pBlazASM/] [Makefile] - Rev 55
Go to most recent revision | 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# 13-apr-10 hvk using 'MinGW/gcc' of Qt and 'rm' of Xilinx/cygwin# 15-oct-10 hvk using ''tcc' of http://bellard.org/tcc/ and 'rm' of Xilinx/cygwin### defines#DRIVE=C:DRIVE=/cygdrive/cRM = rm#MP = "C:/Qt/2010.04/mingw/include"#CC = "C:/Qt/2010.04/mingw/bin/gcc"#MP =#CC = gccMP = $(DRIVE)/tcc/includeCC = $(DRIVE)/tcc/tcc.exeC_SRCS += \./pBlazASM.c \./pbLexer.c \./pbLibgen.c \./pbParser.c \./pbSymbols.c \./getopt.cEXE = "./pBlazASM.exe"OBJS = $(C_SRCS:.c=.o)LIBS =INCS = -I$(MP) -I"../inc"CFLAGS = $(INCS) -g3 -DWINDOWS -Wall -c -O3 -DTCC -DHAVE_STRING_H## rules# All Targetall: testtest: $(EXE)$(EXE) -l -m pBlazASM_Syntax.psm# Tool invocations$(EXE): $(OBJS)@echo Building: $(EXE)$(CC) -o $@ $^ $(LIBS)%.o: %.c %.h@echo Building: "$@"$(CC) $(CFLAGS) -o"$@" "$<"# Other Targetsclean:$(RM) $(OBJS)$(RM) $(EXE).PHONY: all clean.SECONDARY:
Go to most recent revision | Compare with Previous | Blame | View Log
