43 lines
877 B
Makefile
43 lines
877 B
Makefile
TOPSRC = @top_srcdir@
|
|
MODULE = none
|
|
PROGRAMS = hello hello2 hello3 hello4 new rolex
|
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LDLIBS)
|
|
|
|
C_SRCS = \
|
|
hello.c \
|
|
hello2.c \
|
|
hello3.c \
|
|
hello3res.c \
|
|
hello4.c \
|
|
new.c \
|
|
rolex.c
|
|
|
|
all: check_winerc $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
hello: hello.o $(WINELIB)
|
|
$(CC) -o hello hello.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello2: hello2.o $(WINELIB)
|
|
$(CC) -o hello2 hello2.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello3: hello3res.o hello3.o $(WINELIB)
|
|
$(CC) -o hello3 hello3.o hello3res.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
hello4: hello4.o $(WINELIB)
|
|
$(CC) -o hello4 hello4.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
new: new.o $(WINELIB)
|
|
$(CC) -o new new.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
rolex: rolex.o $(WINELIB)
|
|
$(CC) -o rolex rolex.o $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
clean::
|
|
$(RM) $(PROGRAMS) hello3res.c hello3res.h
|
|
|
|
hello3res.c hello3res.h: $(WINERC)
|
|
|
|
### Dependencies:
|