25 |
|
|
26 |
# The above line is where variables will be defined. |
# The above line is where variables will be defined. |
27 |
CFLAGS += $(INCLUDE) $(DEFS) -Wall -W -g |
CFLAGS += $(INCLUDE) $(DEFS) -Wall -W -g |
28 |
programs=arshell arcd vdesk afract wmar wmarmon pongr |
programs=arshell |
29 |
|
|
30 |
all: $(programs) |
all: $(programs) |
31 |
|
|
38 |
yaclib-objects=yaclib/parse.o yaclib/list.o yaclib/hash.o yaclib/vector.o\ |
yaclib-objects=yaclib/parse.o yaclib/list.o yaclib/hash.o yaclib/vector.o\ |
39 |
yaclib/algo.o |
yaclib/algo.o |
40 |
|
|
|
arcd-objects=src/arcd/arcd.o $(lib-objects) $(yaclib-objects) |
|
|
arcd: $(arcd-objects) |
|
|
$(CC) -o arcd $(arcd-objects) $(CFLAGS) $(LIBDIR) $(LIBS) |
|
|
|
|
41 |
arshell-objects=src/arshell/arshell.o src/arshell/arguments.o\ |
arshell-objects=src/arshell/arshell.o src/arshell/arguments.o\ |
42 |
src/arshell/textedit.o src/arshell/arshell-util.o\ |
src/arshell/textedit.o src/arshell/arshell-util.o\ |
43 |
src/arshell/color.o src/arshell/dialog.o src/arshell/menubar.o\ |
src/arshell/color.o src/arshell/dialog.o src/arshell/menubar.o\ |
48 |
arshell:$(arshell-objects) |
arshell:$(arshell-objects) |
49 |
$(CC) $(arshell-objects) $(CFLAGS) $(LIBDIR) $(LIBS) -o arshell |
$(CC) $(arshell-objects) $(CFLAGS) $(LIBDIR) $(LIBS) -o arshell |
50 |
|
|
|
vdesk-objects=src/vdesk/vdesk.o |
|
|
vdesk: $(vdesk-objects) |
|
|
$(CC) -o vdesk $(vdesk-objects) $(CFLAGS)\ |
|
|
$(LIBDIR) -lX11 |
|
|
|
|
|
afract-objects=src/afract/afract.o $(lib-objects) |
|
|
afract: $(afract-objects) |
|
|
$(CC) -o afract $(afract-objects) $(CFLAGS)\ |
|
|
$(LIBDIR) $(LIBS) |
|
|
|
|
|
wmar-objects=src/wmar/wmar.o |
|
|
wmar: $(wmar-objects) |
|
|
$(CC) -o wmar $(wmar-objects) $(CFLAGS)\ |
|
|
$(LIBDIR) -lX11 -lXext |
|
|
|
|
|
wmarmon-objects=src/wmarmon/wmarmon.o |
|
|
wmarmon: $(wmarmon-objects) |
|
|
$(CC) -o wmarmon $(wmarmon-objects) $(CFLAGS)\ |
|
|
$(LIBDIR) -lX11 -lXext |
|
|
|
|
|
pongr-objects=src/pongr/pongr.o src/pongr/xutil.o src/pongr/objects.o\ |
|
|
src/pongr/game.o |
|
|
pongr: $(pongr-objects) |
|
|
$(CC) -o pongr $(pongr-objects) $(CFLAGS)\ |
|
|
$(LIBDIR) -lX11 -lXpm |
|
|
|
|
51 |
clean: |
clean: |
52 |
rm -f `find . | grep '.o$$'` $(programs) |
rm -f `find . | grep '.o$$'` $(programs) |
53 |
distclean: clean |
distclean: clean |