grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / classes / gadgets / colorwheel / makefile
bloba90f2624b046d20ae769dce92ca8b23767950585
1 CC = gcc
2 CFLAGS = -DLC_LIBDEFS_FILE=\"libdefs.h\" -O2 -fstrength-reduce -fomit-frame-pointer -c #-m68020-40 -mregparm=3 -msmall-code
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