2011-04-24 08:36:56 +03:00
|
|
|
#CC=mipsel-openwrt-linux-uclibc-gcc
|
|
|
|
CC=mipsel-linux-gcc
|
|
|
|
|
|
|
|
CFLAGS=-Wall -g -O9 -march=mips32
|
2011-04-28 05:31:39 +03:00
|
|
|
LDFLAGS=-lm
|
2011-04-29 20:03:07 +03:00
|
|
|
OBJS=ubb-vga.o grabfb.o tstimg.o ppm.o ppmimg.o ccube.o physmem.o
|
2011-04-24 08:36:56 +03:00
|
|
|
|
2011-05-04 18:46:34 +03:00
|
|
|
.PHONY: all asm sch schp brd clean spotless
|
2011-04-24 08:36:56 +03:00
|
|
|
|
2011-04-29 20:03:07 +03:00
|
|
|
all: ubb-vga ubb-vga-old
|
2011-04-24 08:36:56 +03:00
|
|
|
|
2011-04-29 20:03:07 +03:00
|
|
|
ubb-vga: $(OBJS)
|
2011-04-28 02:59:29 +03:00
|
|
|
|
2011-04-24 08:56:56 +03:00
|
|
|
asm: ubb-vga.c
|
2011-04-24 08:36:56 +03:00
|
|
|
$(CC) $(CFLAGS) -S $<
|
|
|
|
|
|
|
|
sch:
|
|
|
|
eeschema `pwd`/ubb-vga.sch
|
|
|
|
|
2011-05-04 18:46:34 +03:00
|
|
|
schp:
|
|
|
|
eeschema `pwd`/vga-ben.sch
|
|
|
|
|
|
|
|
brd:
|
|
|
|
pcbnew `pwd`/vga-ben.brd
|
|
|
|
|
2011-05-04 19:45:19 +03:00
|
|
|
vga-ben-front.png:
|
|
|
|
$(MAKE) -f ../../ben-wpan/makefiles/Makefile.kicad \
|
|
|
|
NAME=vga-ben $@
|
|
|
|
|
2011-05-04 20:13:04 +03:00
|
|
|
vga-ben-back.png:
|
|
|
|
$(MAKE) -f ../../ben-wpan/makefiles/Makefile.kicad \
|
|
|
|
NAME=vga-ben $@
|
|
|
|
|
2011-04-24 08:36:56 +03:00
|
|
|
clean:
|
2011-04-28 02:59:29 +03:00
|
|
|
rm -f $(OBJS)
|
2011-04-24 08:36:56 +03:00
|
|
|
|
|
|
|
spotless: clean
|
2011-04-29 20:03:07 +03:00
|
|
|
rm -f ubb-vga ubb-vga-old
|