40 lines
716 B
Makefile
40 lines
716 B
Makefile
|
DEFS = -DWINELIB
|
||
|
TOPSRCDIR = @top_srcdir@
|
||
|
TOPOBJDIR = ../..
|
||
|
SRCDIR = @srcdir@
|
||
|
VPATH = @srcdir@
|
||
|
MODULE = none
|
||
|
PROGRAMS = winemine
|
||
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
||
|
WRCEXTRA = -s -p winemine
|
||
|
|
||
|
LICENSELANG = En
|
||
|
|
||
|
C_SRCS = \
|
||
|
main.c \
|
||
|
dialog.c
|
||
|
|
||
|
|
||
|
SPEC_SRCS = winemine.spec
|
||
|
|
||
|
RC_SRCS = rsrc.rc
|
||
|
|
||
|
all: check_wrc check_winestub $(PROGRAMS)
|
||
|
|
||
|
@MAKE_RULES@
|
||
|
|
||
|
# Override resource compiler rules
|
||
|
.rc.s:
|
||
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
||
|
|
||
|
winemine: $(OBJS)
|
||
|
$(CC) -o winemine $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
||
|
|
||
|
install::
|
||
|
$(INSTALL_PROGRAM) winemine $(bindir)/winemine
|
||
|
|
||
|
uninstall::
|
||
|
$(RM) $(bindir)/winemine
|
||
|
|
||
|
### Dependencies:
|