69 lines
1.4 KiB
Makefile
69 lines
1.4 KiB
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
RCFLAGS = -w32 -h
|
|
PROGRAMS = expand hello hello2 hello3 hello4 hello5 new rolex vartest volinfo
|
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
|
WRCEXTRA = -t -A -p $*
|
|
|
|
C_SRCS = \
|
|
expand.c \
|
|
hello.c \
|
|
hello2.c \
|
|
hello3.c \
|
|
hello4.c \
|
|
hello5.c \
|
|
new.c \
|
|
rolex.c \
|
|
vartest.c \
|
|
volinfo.c
|
|
|
|
RC_SRCS = \
|
|
hello3res.rc
|
|
|
|
all: check_wrc $(PROGRAMS)
|
|
|
|
depend:: $(RC_SRCS:.rc=.h)
|
|
|
|
@MAKE_RULES@
|
|
|
|
$(RC_SRCS:.rc=.s): $(WRC)
|
|
|
|
$(WINESTUB):
|
|
@cd ../library && $(SUBMAKE)
|
|
|
|
expand: expand.o $(WINESTUB)
|
|
$(CC) -o expand expand.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello: hello.o $(WINESTUB)
|
|
$(CC) -o hello hello.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello2: hello2.o $(WINESTUB)
|
|
$(CC) -o hello2 hello2.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello3: hello3res.o hello3.o $(WINESTUB)
|
|
$(CC) -o hello3 hello3.o hello3res.o $(LDOPTIONS) $(ALL_LIBS)
|
|
hello3.o: hello3res.h
|
|
|
|
hello4: hello4.o $(WINESTUB)
|
|
$(CC) -o hello4 hello4.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello5: hello5.o $(WINESTUB)
|
|
$(CC) -o hello5 hello5.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
new: new.o $(WINESTUB)
|
|
$(CC) -o new new.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
rolex: rolex.o $(WINESTUB)
|
|
$(CC) -o rolex rolex.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
vartest: vartest.o $(WINESTUB)
|
|
$(CC) -o vartest vartest.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
volinfo: volinfo.o $(WINESTUB)
|
|
$(CC) -o volinfo volinfo.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
### Dependencies:
|