66 lines
1.2 KiB
Makefile
66 lines
1.2 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 = -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)
|
|
|
|
expand: expand.o
|
|
$(CC) -o expand expand.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello: hello.o
|
|
$(CC) -o hello hello.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello2: hello2.o
|
|
$(CC) -o hello2 hello2.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello3: hello3res.o hello3.o
|
|
$(CC) -o hello3 hello3.o hello3res.o $(LDOPTIONS) $(ALL_LIBS)
|
|
hello3.o: hello3res.h
|
|
|
|
hello4: hello4.o
|
|
$(CC) -o hello4 hello4.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello5: hello5.o
|
|
$(CC) -o hello5 hello5.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
new: new.o
|
|
$(CC) -o new new.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
rolex: rolex.o
|
|
$(CC) -o rolex rolex.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
vartest: vartest.o
|
|
$(CC) -o vartest vartest.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
volinfo: volinfo.o
|
|
$(CC) -o volinfo volinfo.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
### Dependencies:
|