Sweden-Number/tools/winebuild/Makefile.in

27 lines
505 B
Makefile
Raw Normal View History

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
2014-01-14 11:59:25 +01:00
OBJS = $(C_SRCS:.c=.o)
winebuild$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
2014-01-14 11:59:25 +01:00
.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)