3 # Makefile to make icontrol prefs program.
5 include $(TOP)/config/make.cfg
7 FILES := main vars locale misc prefs gui
8 EXEDIR := $(AROSDIR)/Prefs
10 #MM- workbench-prefs : workbench-prefs-icontrol
11 #MM workbench-prefs-icontrol : includes linklibs \
12 #MM workbench-prefs-icontrol-catalogs \
13 #MM workbench-prefs-icontrol-images
15 %build_prog mmake=workbench-prefs-icontrol \
16 progname=IControl targetdir=$(EXEDIR) \
17 files=$(FILES) uselibs="mui arossupport amiga arosc m"
20 IMAGES := menupulldownclassic menupulldown3d menupopupclassic menupopup3d
21 SRCIMAGES := $(foreach f, $(IMAGES), images/$(f).ilbm)
22 C_IMAGES := $(foreach f, $(IMAGES), $(f)_image.c)
25 workbench-prefs-icontrol-images : $(C_IMAGES)
27 ./%_image.c : images/%.ilbm