grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / system / Wanderer / makefile
blob3496e76176ce2610f9e5d88d9426c9e5355d42e3
1 CC = gcc
2 OBJ = support.o main.o iconwindow.o wandererprefsfont.o wanderer.o locale.o filesystems.o iconwindowbackfill.o iconwindow.o iconwindow.o iconwindow_iconlist.o iconwindow_volumelist.o iconwindow_drawerlist.o iconwindow_networkbrowserlist.o portable_utils.o Classes/icondrawerlist.o Classes/iconlist.o Classes/iconlistview.o Classes/iconvolumelist.o wandererprefs.o
3 LINKOBJ = support.o main.o iconwindow.o wandererprefsfont.o wanderer.o locale.o filesystems.o iconwindowbackfill.o iconwindowcontents.o portable_utils.o Classes/icondrawerlist.o Classes/iconlist.o Classes/iconlistview.o Classes/iconvolumelist.o wandererprefs.o
5 INCS =
6 CXXINCS =
7 BIN = Wanderer
8 DEFINES =
9 CXXFLAGS = $(CXXINCS) $(DEFINES)
10 CFLAGS = -O2 $(INCS) $(DEFINES)
11 RM = rm -f
12 LIBS =
13 LINK = gcc
15 .PHONY: all all-before all-after clean clean-custom
16 all: all-before $(BIN) all-after
18 clean: clean-custom
19 $(RM) $(OBJ) $(BIN)
21 $(BIN): $(OBJ)
22 $(LINK) $(LINKOBJ) -o "Wanderer_MOS" $(LIBS)
24 support.o: $(GLOBALDEPS) support.c
25 $(CC) -c support.c -o support.o $(CFLAGS)
27 main.o: $(GLOBALDEPS) main.c
28 $(CC) -c main.c -o main.o $(CFLAGS)
30 iconwindow.o: $(GLOBALDEPS) iconwindow.c
31 $(CC) -c iconwindow.c -o iconwindow.o $(CFLAGS)
33 wandererprefsfont.o: $(GLOBALDEPS) wandererprefsfont.c
34 $(CC) -c wandererprefsfont.c -o wandererprefsfont.o $(CFLAGS)
36 wanderer.o: $(GLOBALDEPS) wanderer.c
37 $(CC) -c wanderer.c -o wanderer.o $(CFLAGS)
39 locale.o: $(GLOBALDEPS) locale.c strings.h
40 $(CC) -c locale.c -o locale.o $(CFLAGS)
42 filesystems.o: $(GLOBALDEPS) filesystems.c filesystems.h
43 $(CC) -c filesystems.c -o filesystems.o $(CFLAGS)
45 iconwindowbackfill.o: $(GLOBALDEPS) iconwindowbackfill.c iconwindowbackfill.h
46 $(CC) -c iconwindowbackfill.c -o iconwindowbackfill.o $(CFLAGS)
48 iconwindowcontents.o: $(GLOBALDEPS) iconwindowcontents.c iconwindowcontents.h
49 $(CC) -c iconwindowcontents.c -o iconwindowcontents.o $(CFLAGS)
51 portable_utils.o: $(GLOBALDEPS) portable_utils.c
52 $(CC) -c portable_utils.c -o portable_utils.o $(CFLAGS)
54 Classes/icondrawerlist.o: $(GLOBALDEPS) Classes/icondrawerlist.c Classes/icondrawerlist_private.h
55 $(CC) -c Classes/icondrawerlist.c -o Classes/icondrawerlist.o $(CFLAGS)
57 Classes/iconlist.o: $(GLOBALDEPS) Classes/iconlist.c Classes/iconlist_private.h
58 $(CC) -c Classes/iconlist.c -o Classes/iconlist.o $(CFLAGS)
60 Classes/iconlistview.o: $(GLOBALDEPS) Classes/iconlistview.c Classes/iconlistview_private.h
61 $(CC) -c Classes/iconlistview.c -o Classes/iconlistview.o $(CFLAGS)
63 Classes/iconvolumelist.o: $(GLOBALDEPS) Classes/iconvolumelist.c Classes/iconvolumelist_private.h
64 $(CC) -c Classes/iconvolumelist.c -o Classes/iconvolumelist.o $(CFLAGS)
66 wandererprefs.o: $(GLOBALDEPS) wandererprefs.c
67 $(CC) -c wandererprefs.c -o wandererprefs.o $(CFLAGS)
69 strings.h: Catalogs/wanderer.cd
70 catcomp $? CFILE $@