43 lines
725 B
Makefile
43 lines
725 B
Makefile
DEFS = -DWINELIB
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
PROGRAMS = clock
|
|
IMPORTS = shell32 comdlg32 ole32 winspool.drv
|
|
WRCEXTRA = -s -p clock
|
|
|
|
LICENSELANG = En
|
|
|
|
C_SRCS = \
|
|
language.c \
|
|
license.c \
|
|
winclock.c \
|
|
main.c \
|
|
$(LICENSELANG:%=License_%.c)
|
|
|
|
SPEC_SRCS = clock.spec
|
|
|
|
RC_SRCS = rsrc.rc
|
|
|
|
all: check_wrc $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
# Override resource compiler rules
|
|
.rc.s:
|
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
|
|
|
|
|
clock: $(OBJS)
|
|
$(CC) -o clock $(OBJS) $(DLL_LINK) $(LIBS)
|
|
|
|
install::
|
|
$(INSTALL_PROGRAM) clock $(bindir)/clock
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/clock
|
|
|
|
### Dependencies:
|