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

Subversion Repositories plasma

[/] [plasma/] [trunk/] [tools/] [makefile] - Diff between revs 388 and 389

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 388 Rev 389
Line 43... Line 43...
 
 
CFLAGS = -O2 -Wall -c -s
CFLAGS = -O2 -Wall -c -s
 
 
all: convert_bin.exe tracehex.exe bintohex.exe ram_image.exe
all: convert_bin.exe tracehex.exe bintohex.exe ram_image.exe
        @echo make targets = count, opcodes, pi, test, run, tohex,\
        @echo make targets = count, opcodes, pi, test, run, tohex,\
        bootldr, toimage, etermip
        bootldr, toimage, eterm
 
 
clean:
clean:
        -$(RM) *.o *.obj *.map *.lst *.hex *.txt *.exe *.axf
        -$(RM) *.o *.obj *.map *.lst *.hex *.txt *.exe *.axf
 
 
#Same as "objcopy -I elf32-big -O binary test.axf test.bin"
#Same as "objcopy -I elf32-big -O binary test.axf test.bin"
Line 67... Line 67...
        @$(CC_X86) -o bintohex.exe bintohex.c
        @$(CC_X86) -o bintohex.exe bintohex.c
 
 
ram_image.exe: ram_image.c
ram_image.exe: ram_image.c
        @$(CC_X86) -o ram_image.exe ram_image.c
        @$(CC_X86) -o ram_image.exe ram_image.c
 
 
 
# Terminal program that will download a new image.
 
# For Linux, use any serial port program at 57600 baud 8-bits;1-stop bit
 
# This mode does not support Ethernet packet transfers.
 
eterm: etermip.c
 
        -@$(CC_X86) -o etermip.exe etermip.c
 
 
# Terminal program that will download a new image and supports Ethernet
# Terminal program that will download a new image and supports Ethernet
# traffic over UART.  Get wpcap.lib from http://www.winpcap.org/.
# traffic over UART.  Get wpcap.lib from http://www.winpcap.org/.
# Requires Windows OS
# Requires Windows OS
# For Linux, use any serial port program at 57600 baud 8-bits;1-stop bit
 
# This version does not support Ethernet packet transfers
 
etermip: etermip.c
 
        -@$(CC_X86) -o etermip.exe etermip.c wpcap.lib
 
 
 
# Uses wpcap.lib for receiving and transmitting raw Ethernet packets
# Uses wpcap.lib for receiving and transmitting raw Ethernet packets
# Get wpcap.lib from http://www.winpcap.org/.
# Get wpcap.lib from http://www.winpcap.org/.
etermip2: etermip.c
etermip: etermip.c
        @echo Get wpcap.lib from http://www.winpcap.org/
        @echo Get wpcap.lib from http://www.winpcap.org/
        -@$(CC_X86) -DUSE_WPCAP -o etermip.exe etermip.c wpcap.lib
        -@$(CC_X86) -DUSE_WPCAP -o etermip.exe etermip.c wpcap.lib
 
 
nomult.exe: nomult.c
nomult.exe: nomult.c
        -@$(CC_X86) -o nomult.exe nomult.c
        -@$(CC_X86) -o nomult.exe nomult.c

powered by: WebSVN 2.1.0

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