mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
31 lines
669 B
Makefile
31 lines
669 B
Makefile
DEFS = -DINCLUDEDIR="\"$(includedir)\"" -DDLLDIR="\"$(dlldir)\"" -DLIBDIR="\"$(libdir)\""
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
|
|
PROGRAMS = winegcc
|
|
|
|
C_SRCS = \
|
|
utils.c \
|
|
winegcc.c
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
winegcc: winegcc.o utils.o
|
|
$(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
|
|
|
|
install:: $(PROGRAMS)
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
$(INSTALL_PROGRAM) winegcc $(bindir)/winegcc
|
|
cd $(bindir) && $(RM) wineg++ && $(LN_S) winegcc wineg++
|
|
cd $(bindir) && $(RM) winecpp && $(LN_S) winegcc winecpp
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/winegcc $(bindir)/wineg++ $(bindir)/winecpp
|
|
|
|
### Dependencies:
|