39 lines
650 B
Makefile
39 lines
650 B
Makefile
DEFS = -DWINELIB -DSTRICT
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
PROGRAMS = notepad
|
|
IMPORTS = shlwapi shell32 ole32 rpcrt4 comdlg32 winspool.drv user32 gdi32 kernel32
|
|
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 $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
notepad: $(OBJS)
|
|
$(CC) -o notepad $(OBJS) $(DLL_LINK) $(LIBS)
|
|
|
|
install::
|
|
$(INSTALL_PROGRAM) notepad $(bindir)/notepad
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/notepad
|
|
|
|
### Dependencies:
|