Create symlinks named wineg++ and winecpp while building winegcc.

This commit is contained in:
Vincent Béron 2005-03-05 11:21:50 +00:00 committed by Alexandre Julliard
parent d488f3f1de
commit 1ec033cff1
1 changed files with 7 additions and 1 deletions

View File

@ -16,7 +16,10 @@ VPATH = @srcdir@
EXEEXT = @EXEEXT@
MODULE = none
PROGRAMS = winegcc$(EXEEXT)
PROGRAMS = \
winecpp$(EXEEXT) \
winegcc$(EXEEXT) \
wineg++$(EXEEXT)
C_SRCS = \
utils.c \
@ -29,6 +32,9 @@ all: $(PROGRAMS)
winegcc$(EXEEXT): winegcc.o utils.o
$(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
$(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@
install:: $(PROGRAMS)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
$(INSTALL_PROGRAM) winegcc$(EXEEXT) $(bindir)/winegcc$(EXEEXT)