1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-29 10:11:10 +02:00
ben-blinkenlights/ubb-vga/Makefile
Werner Almesberger 19f43a77c9 ubb-vga2: added test image generator (option -t)
- 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
2011-04-27 23:31:39 -03:00

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