2 TOPSRCDIR
= @top_srcdir@
7 PROGRAMS
= build makedep fnt2bdf bin2res
10 C_SRCS
= build.c makedep.c fnt2bdf.c bin2res.c
23 all: $(PROGRAMS
) wmc wrc
28 $(CC
) $(CFLAGS
) -o build build.o
31 $(CC
) $(CFLAGS
) -o makedep makedep.o
34 $(CC
) $(CFLAGS
) -o fnt2bdf fnt2bdf.o
37 $(CC
) $(CFLAGS
) -o bin2res bin2res.o
39 install:: $(PROGRAMS
) $(SUBDIRS
:%=%/__install__
)
40 [ -d
$(bindir) ] ||
$(MKDIR
) $(bindir)
41 $(INSTALL_PROGRAM
) build
$(bindir)/winebuild
42 $(INSTALL_PROGRAM
) fnt2bdf
$(bindir)/fnt2bdf
44 uninstall:: $(PROGRAMS
) $(SUBDIRS
:%=%/__uninstall__
)
45 $(RM
) $(bindir)/winebuild
$(bindir)/fnt2bdf