Create symlinks named wineg++ and winecpp while building winegcc.
This commit is contained in:
parent
d488f3f1de
commit
1ec033cff1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue