Sweden-Number/programs/notepad/Makefile.in

43 lines
771 B
Makefile

DEFS = -DWINELIB
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = none
PROGRAMS = notepad
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
WRCEXTRA = -s -p notepad
LICENSELANG = En
C_SRCS = \
license.c \
main.c \
dialog.c \
language.c \
search.c \
$(LICENSELANG:%=License_%.c)
SPEC_SRCS = notepad.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
notepad: $(OBJS)
$(CC) -o notepad $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
install::
$(INSTALL_PROGRAM) notepad $(bindir)/notepad
uninstall::
$(RM) $(bindir)/notepad
### Dependencies: