PROGRAMS = winebuild$(EXEEXT) MANPAGES = winebuild.man.in C_SRCS = \ import.c \ main.c \ parser.c \ relay.c \ res16.c \ res32.c \ spec16.c \ spec32.c \ utils.c OBJS = $(C_SRCS:.c=.o) winebuild$(EXEEXT): $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS) .PHONY: install install-dev uninstall install install-dev:: $(PROGRAMS) install-man-pages $(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) uninstall:: $(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)