wok view xpat2/stuff/Makefile @ rev 4990

fix: RAM for get-java6-jdk; Add TAGS
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 11:20:40 2010 +0000 (2010-02-25)
parents
children
line source
1 PREFIX = /usr
2 CFLAGS = -DuseXaw -DONLINE_HELP -DSOUND -DGFX2
3 CFLAGS += -DLIBDIR=\"/usr/share/xpat2\"
4 CFLAGS += -DSCOREFILE=\"/var/games/xpat2/xpat.log\"
5 LDFLAGS = -lX11 -lXaw
7 STDOBJS = rules.o commands.o messages.o hints.o layout.o \
8 arrows.o loadsave.o util.o moves.o \
9 r_Klondike.o r_Spider.o r_Delight.o r_MonteCarlo.o \
10 r_Midnight.o r_Gypsy.o r_Seahaven.o r_FreeCell.o \
11 r_Calculatio.o r_Michaels.o r_Royal.o r_Canfield.o \
12 r_mdCanfield.o r_Bakers.o r_Oonsoo.o r_BlueMoon.o
14 XOBJS = X-events.o X-layout.o X-expose.o X-cards.o \
15 X-markcard.o X-arrows.o X-widget.o $(GFXOBJ) \
16 Xaw-help.o Xaw-main.o X-sound_SUN.o X-gfx2.o
18 OBJS = $(STDOBJS) $(XOBJS)
20 MYPROG = xpat2
22 all: $(MYPROG)
24 $(MYPROG): $(OBJS)
25 gcc -o $(MYPROG) $(LDFLAGS) $(OBJS)
27 install:
28 install -d $(DESTDIR)$(PREFIX)/bin
29 install -m 755 xpat2 $(DESTDIR)$(PREFIX)/bin
30 install -d $(DESTDIR)$(PREFIX)/share/xpat2/default
31 install -m 644 ../lib/help* ../lib/hlp* ../lib/keys $(DESTDIR)$(PREFIX)/share/xpat2
32 install -m 644 ../lib/default/* $(DESTDIR)$(PREFIX)/share/xpat2/default
34 clean:
35 rm $(MYPROG) *.o