mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2024-12-12 22:34:59 +02:00
25 lines
474 B
Makefile
25 lines
474 B
Makefile
CC_X86 = gcc -Wall -O -g
|
|
CP = cp
|
|
RM = rm -rf
|
|
DWIN32 =
|
|
BIN_MIPS =
|
|
VHDL_DIR = ../logic
|
|
LINUX_PWD = ./
|
|
CONVERT_BIN = $(LINUX_PWD)convert_bin
|
|
|
|
CFLAGS = -O2 -Wall -c -s
|
|
|
|
all: ramimage mlite
|
|
rm -rf ../bin
|
|
mkdir ../bin; mv ramimage ../bin; mv mlite ../bin
|
|
|
|
clean:
|
|
-$(RM) *.o *.obj *.map *.lst *.hex *.txt ../bin
|
|
|
|
ramimage: ramimage.c
|
|
@$(CC_X86) -o ramimage ramimage.c
|
|
|
|
mlite: mlite.c
|
|
@$(CC_X86) -o mlite mlite.c
|
|
|