29 lines
529 B
Makefile
29 lines
529 B
Makefile
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
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
winebuild$(EXEEXT): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
|
|
|
|
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir) install-man-pages
|
|
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|