mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
30 lines
586 B
Makefile
30 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)
|