mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-27 16:57:31 +02:00
19f43a77c9
- tstimg.c: test image generator - Makefile (OBJS): added tstimg.o - Makefile (LDFLAGS): tstimg.c needs libm - ubb-vga2.c (session, main): pass image generator as a function pointer - ubb-vga2.c (main): new option -t to select the test image generator
25 lines
359 B
Makefile
25 lines
359 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
|
|
|
|
.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
|