2002-06-15 01:48:27 +02:00
|
|
|
PROGRAMS = winebuild$(EXEEXT)
|
2013-11-18 11:34:03 +01:00
|
|
|
MANPAGES = winebuild.man.in
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
C_SRCS = \
|
2000-09-28 01:40:43 +02:00
|
|
|
import.c \
|
2000-06-23 22:15:35 +02:00
|
|
|
main.c \
|
|
|
|
parser.c \
|
|
|
|
relay.c \
|
2000-10-25 22:33:58 +02:00
|
|
|
res16.c \
|
2000-10-23 23:33:06 +02:00
|
|
|
res32.c \
|
2000-06-23 22:15:35 +02:00
|
|
|
spec16.c \
|
|
|
|
spec32.c \
|
|
|
|
utils.c
|
|
|
|
|
2014-01-14 11:59:25 +01:00
|
|
|
OBJS = $(C_SRCS:.c=.o)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
2002-06-15 01:48:27 +02:00
|
|
|
winebuild$(EXEEXT): $(OBJS)
|
2003-04-22 01:27:21 +02:00
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
2014-01-14 11:59:25 +01:00
|
|
|
.PHONY: install install-dev uninstall
|
|
|
|
|
2013-12-26 13:24:26 +01:00
|
|
|
install install-dev:: $(PROGRAMS) install-man-pages
|
2006-02-14 13:51:38 +01:00
|
|
|
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
uninstall::
|
2010-12-05 16:17:42 +01:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|