source: SH_SHM/trunk/source/img/Makefile @ 20

Revision 20, 1.9 KB checked in by marcus, 11 years ago (diff)

r5 | svn | 2008-01-16 18:44:05 +0100 (Mi, 16 Jan 2008) | 1 line

removed dependencies from Makefiles

Line 
1# file Makefile
2#      ========
3#
4# version 14, 7-Oct-2006
5#
6# Makefile of directory $SH_ROOT/source/img
7# K. Stammler, 7-Mar-95
8
9CFLAGS      = $(SH_CCOPTIONS) -I$(SH_SOURCE) -I$(SH_UTIL) -I$(SH_SOURCE)/newgraph -I$(SH_SOURCE)/foreign -DBASECNST=\"basecnst.h\"
10CC          = $(SH_COMPILER)
11LD          = $(SH_COMPILER)
12LDFLAGS     = -L$(SH_LIB) $(SH_LINKOPTIONS)
13#LIBS        = -lmotif -lsource -lm -lMrm -lXm -lXt -lXp -lXext -lX11 $(SH_LINKLIBS) \
14#               $(SH_MOTIFLIBS)
15LIBS        = -lmotif -lsource -lm -lMrm -lXm -lXt -lXext -lX11 $(SH_LINKLIBS) \
16                $(SH_MOTIFLIBS)
17
18ANINAME     = animatrix
19PROGNAME                = mapmatrix
20
21LIB_SOURCE      = $(SH_LIB)libsource.a
22LIB_MOTIF       = $(SH_LIB)libmotif.a
23ALL_IMG_LIBS    = $(LIB_MOTIF) $(LIB_SOURCE)
24
25
26all:    $(PROGNAME) $(PROGNAME).uid $(ANINAME) $(ANINAME).uid mapslow mapslow.uid mapspec mapspec.uid
27
28$(LIB_MOTIF):   $(LOCAL_OBJS)
29        @echo "Motif-Lib not up to date"
30
31$(LIB_SOURCE):
32        @echo "Source-Lib not up to date"
33
34$(PROGNAME):    $(PROGNAME).o $(ALL_IMG_LIBS)
35        @echo "Linking $(PROGNAME) ..."
36        $(LD) $(PROGNAME).o $(LDFLAGS) $(LIBS) -o $@
37
38$(ANINAME):     $(ANINAME).o $(ALL_IMG_LIBS)
39        @echo "Linking $(ANINAME) ..."
40        $(LD) $(ANINAME).o $(LDFLAGS) $(LIBS) -o $@
41
42mapslow:        mapslow.o $(ALL_IMG_LIBS)
43        @echo "Linking mapslow ..."
44        $(LD) mapslow.o $(LDFLAGS) $(LIBS) -o $@
45
46mapspec:        mapspec.o $(ALL_IMG_LIBS)
47        @echo "Linking mapspec ..."
48        $(LD) mapspec.o $(LDFLAGS) $(LIBS) -o $@
49
50$(PROGNAME).uid:        $(PROGNAME).uil
51        (LANG=en; uil -o $@ $(PROGNAME).uil)
52
53$(ANINAME).uid: $(ANINAME).uil
54        (LANG=en; uil -o $@ $(ANINAME).uil)
55
56mapslow.uid:    mapslow.uil
57        (LANG=en; uil -o $@ mapslow.uil)
58
59mapspec.uid:    mapspec.uil
60        (LANG=en; uil -o $@ mapspec.uil)
61
62
63clean:
64        -@rm $(PROGNAME).o $(PROGNAME) $(PROGNAME).uid $(ANINAME).o $(ANINAME) $(ANINAME).uid mapslow mapslow.o mapslow.uid mapspec mapspec.o mapspec.uid
65
66depend:
67        makedepend -s "# DO NOT DELETE" -- $(CFLAGS) -- mapmatrix.c animatrix.c mapslow.c
68
69# DO NOT DELETE
70
Note: See TracBrowser for help on using the repository browser.