1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-27 20:02:48 +02:00
ben-blinkenlights/ubb-vga/Makefile

39 lines
663 B
Makefile
Raw Normal View History

2011-04-24 08:36:56 +03:00
#CC=mipsel-openwrt-linux-uclibc-gcc
CC=mipsel-linux-gcc
CFLAGS=-Wall -g -O9 -march=mips32
LDFLAGS=-lm
OBJS=ubb-vga.o grabfb.o tstimg.o ppm.o ppmimg.o ccube.o physmem.o
2011-04-24 08:36:56 +03:00
.PHONY: all asm sch schp brd clean spotless
2011-04-24 08:36:56 +03:00
all: ubb-vga ubb-vga-old
2011-04-24 08:36:56 +03:00
ubb-vga: $(OBJS)
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
schp:
eeschema `pwd`/vga-ben.sch
brd:
pcbnew `pwd`/vga-ben.brd
vga-ben-front.png:
$(MAKE) -f ../../ben-wpan/makefiles/Makefile.kicad \
NAME=vga-ben $@
vga-ben-back.png:
$(MAKE) -f ../../ben-wpan/makefiles/Makefile.kicad \
NAME=vga-ben $@
2011-04-24 08:36:56 +03:00
clean:
rm -f $(OBJS)
2011-04-24 08:36:56 +03:00
spotless: clean
rm -f ubb-vga ubb-vga-old