Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / classes / gadgets / colorwheel / makefile
blobfda26fe4497bdda7526de13b48ffb2b372caca74
1 CC = gcc
2 CFLAGS = -m68020-40 -O2 -mregparm=3 -fstrength-reduce -fomit-frame-pointer -msmall-code -c
3 LDFLAGS = -noixemul -nostartfiles -s
4 LDLIBS =
6 OBJS = library.o support.o colorwheelclass.o converthsbtorgb.o convertrgbtohsb.o fixmathtrans.o bmbmrp.o
8 colorwheel.gadget: $(OBJS)
9 $(CC) $(LDFLAGS) -o sys:classes/gadgets/$@ $(OBJS) $(LDLIBS)
10 avail flush >NIL:
12 library.o: library.c colorwheel_intern.h libdefs.h
13 $(CC) $(CFLAGS) library.c
15 colorwheelclass.o: colorwheelclass.c colorwheel_intern.h
16 $(CC) $(CFLAGS) colorwheelclass.c
18 converthsbtorgb.o: converthsbtorgb.c
19 $(CC) $(CFLAGS) converthsbtorgb.c
21 convertrgbtohsb.o: convertrgbtohsb.c fixmath.h
22 $(CC) $(CFLAGS) convertrgbtohsb.c
24 support.o: support.c colorwheel_intern.h fixmath.h
25 $(CC) $(CFLAGS) support.c
27 bmbmrp.o: bmbmrp.c bmbmrp.h
28 $(CC) $(CFLAGS) bmbmrp.c
30 fixmathtrans.o: fixmathtrans.c fixmath.h
31 $(CC) $(CFLAGS) fixmathtrans.c