initial
[fpgammix.git] / workloads / keyboard / Makefile
blob342e3adb54271b03ffa700fbcf5b9b4382afad83
1 target: draw.txt
3 include ../Makefile
5 CFLAGS=-Wall -O -fomit-frame-pointer -I../common
7 interrupts.o test-keyboard.o: ../common/fb-io.h
9 test-keyboard.elf: interrupts.o test-keyboard.o stdio.o fb-io.o interrupts.o
10 $(CC) $^ -Ttext=1000 -o $@
12 draw.elf: interrupts.o draw.o stdio.o fb-io.o interrupts.o
13 $(CC) $^ -Ttext=1000 -o $@
15 stdio.o: ../common/stdio.c
16 $(CC) $(CFLAGS) -c $< -o $@
18 interrupts.o: ../common/interrupts.S
19 $(CC) $(CFLAGS) -c $< -o $@
21 fb-io.o: ../common/fb-io.c
22 $(CC) $(CFLAGS) -c $< -o $@