31 lines
586 B
Makefile
31 lines
586 B
Makefile
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
|
|
PROGRAMS = winebuild$(EXEEXT)
|
|
MANPAGE = winebuild.man
|
|
|
|
C_SRCS = \
|
|
import.c \
|
|
main.c \
|
|
parser.c \
|
|
relay.c \
|
|
res16.c \
|
|
res32.c \
|
|
spec16.c \
|
|
spec32.c \
|
|
utils.c
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
winebuild$(EXEEXT): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
|
|
|
|
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir)
|
|
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|