60 lines
1.1 KiB
Makefile
60 lines
1.1 KiB
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
RCFLAGS = -w32 -h
|
|
PROGRAMS = expand hello hello2 hello3 hello4 hello5 new rolex volinfo
|
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LIBS)
|
|
|
|
C_SRCS = \
|
|
expand.c \
|
|
hello.c \
|
|
hello2.c \
|
|
hello3.c \
|
|
hello4.c \
|
|
hello5.c \
|
|
new.c \
|
|
rolex.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)
|
|
|
|
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)
|
|
|
|
volinfo: volinfo.o
|
|
$(CC) -o volinfo volinfo.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
### Dependencies:
|