mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-30 17:46:15 +02:00
6558f56de6
- ubb-vga.h (ccube_init, ccube_map), ccube.c: color mapper based on proximity in color cube - grabfb.c (pattern, grabfb), ppmimg.c (pattern, convert): use the color cube mapper instead of inferios threshold-based mapping - ubb-vga2.c (session): initialize the color cube - ubb-vga.h (thres), grabfb.c (thres), ubb-vga2.c (usage, main): removed the threshold along with the option (-l) to set it - Makefile (OBJS): added ccube.o
25 lines
382 B
Makefile
25 lines
382 B
Makefile
#CC=mipsel-openwrt-linux-uclibc-gcc
|
|
CC=mipsel-linux-gcc
|
|
|
|
CFLAGS=-Wall -g -O9 -march=mips32
|
|
LDFLAGS=-lm
|
|
OBJS=ubb-vga2.o grabfb.o tstimg.o ppm.o ppmimg.o ccube.o
|
|
|
|
.PHONY: all asm sch clean spotless
|
|
|
|
all: ubb-vga ubb-vga2
|
|
|
|
ubb-vga2: $(OBJS)
|
|
|
|
asm: ubb-vga.c
|
|
$(CC) $(CFLAGS) -S $<
|
|
|
|
sch:
|
|
eeschema `pwd`/ubb-vga.sch
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|
|
|
|
spotless: clean
|
|
rm -f ubb-vga ubb-vga2
|