Mercurial > hg > aim92
comparison xaim/makefile @ 0:5242703e91d3 tip
Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author | tomwalters |
---|---|
date | Fri, 20 May 2011 15:19:45 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5242703e91d3 |
---|---|
1 #------------------------------------------------------------------------- | |
2 # | |
3 # Copyright (c) Applied Psychology Unit, Medical Research Council. 1993 | |
4 # =========================================================================== | |
5 # Permission to use, copy, modify, and distribute this software without fee | |
6 # is hereby granted for research purposes, provided that this copyright | |
7 # notice appears in all copies and in all supporting documentation, and that | |
8 # the software is not redistributed for any fee (except for a nominal | |
9 # shipping charge). Anyone wanting to incorporate all or part of this | |
10 # software in a commercial product must obtain a license from the Medical | |
11 # Research Council. | |
12 # | |
13 # The MRC makes no representations about the suitability of this | |
14 # software for any purpose. It is provided "as is" without express or | |
15 # implied warranty. | |
16 # | |
17 # THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING | |
18 # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL | |
19 # THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES | |
20 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | |
21 # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | |
22 # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS | |
23 # SOFTWARE. | |
24 # | |
25 #------------------------------------------------------------------------- | |
26 # | |
27 # makefile for xreview | |
28 # | |
29 # M.Akeroyd. Christmas 1993. | |
30 # | |
31 # Revisions: MAA & mitch d'souza: autumn 1993: | |
32 # changed the definition of 'CC' so that it would work on | |
33 # Sparc/Openwindows/gcc: seems the -Bstatic gest rid of a | |
34 # well-known Sun bug, and the -Xlinker stops it looking in | |
35 # the default lib location /usr/local/lib | |
36 # Also added lots of extra libs (Xext, Xt, m), again so as | |
37 # to work under Sparc/Openwindows/gcc. | |
38 # | |
39 #-------------------------------------------------------------------------- | |
40 | |
41 # linux 386 pc | |
42 #CC = gcc | |
43 #CFLAGS= -DHOST_LINUXPC -O -I/usr/local/X386/include -L/usr/local/X386/lib | |
44 #LIBS = -lXmu -lX11 | |
45 | |
46 # Sparc (NOT openwindows) | |
47 #CC = gcc | |
48 ###CFLAGS= -O -I/usr/local2/include -L/usr/local2/lib | |
49 #LIBS = -lXmu -lX11 | |
50 | |
51 # Sparc & Openwindows | |
52 #CC = gcc -Xlinker -Bstatic | |
53 #CFLAGS = -O -s -I/usr/openwin/include -L/usr/openwin/lib | |
54 #LIBS = -lXt -lXext -lXmu -lX11 -lm | |
55 | |
56 # DECstation 3100 | |
57 #CC = gcc | |
58 #CFLAGS= -DHOST_DECSTATION -O -I/usr/local2/include -L/usr/local2/lib | |
59 #LIBS = -lXmu -lX11 | |
60 | |
61 #-------------------------------------------------------------------------- | |
62 | |
63 TARFILE = xreview.tar | |
64 | |
65 all: synthirn xreview | |
66 | |
67 clean: | |
68 rm -f *.o xreview $(TARFILE) | |
69 | |
70 tidy: | |
71 rm -f *.o | |
72 | |
73 tar: | |
74 tar cvf $(TARFILE) cartoon.c initialise.c buttons.c graphics.c \ | |
75 switch_control.c switch_axes.c switch_buttons.c xreview.c \ | |
76 xreview.h xreview.bitmap stipple_a disclaimer.text releasenotes.text \ | |
77 makefile synthirn.c | |
78 | |
79 #-------------------------------------------------------------------------- | |
80 synthirn: synthirn.o | |
81 $(CC) -o synthirn synthirn.o -lm | |
82 | |
83 synthirn.o: synthirn.c | |
84 $(CC) -c synthirn.c | |
85 | |
86 synthdramp: synthdramp.o | |
87 $(CC) -o synthdramp synthdramp.o -lm | |
88 | |
89 synthdramp.o: synthdramp.c | |
90 $(CC) -c synthdramp.c | |
91 | |
92 xreview: cartoon.o initialise.o buttons.o graphics.o \ | |
93 switch_control.o switch_axes.o switch_buttons.o \ | |
94 xreview.h xreview.bitmap stipple_a \ | |
95 xreview.o | |
96 $(CC) $(CFLAGS) -o xreview \ | |
97 cartoon.o initialise.o buttons.o graphics.o \ | |
98 switch_control.o switch_axes.o switch_buttons.o \ | |
99 xreview.o $(LDFLAGS) | |
100 | |
101 cartoon.o: cartoon.c xreview.h | |
102 $(CC) $(CFLAGS) -c cartoon.c | |
103 | |
104 initialise.o: initialise.c xreview.h xreview.bitmap stipple_a | |
105 $(CC) $(CFLAGS) -c initialise.c | |
106 | |
107 buttons.o: buttons.c xreview.h | |
108 $(CC) $(CFLAGS) -c buttons.c | |
109 | |
110 graphics.o: graphics.c xreview.h | |
111 $(CC) $(CFLAGS) -c graphics.c | |
112 | |
113 switch_control.o: switch_control.c xreview.h | |
114 $(CC) $(CFLAGS) -c switch_control.c | |
115 | |
116 switch_axes.o: switch_axes.c xreview.h | |
117 $(CC) $(CFLAGS) -c switch_axes.c | |
118 | |
119 switch_buttons.o: switch_buttons.c xreview.h | |
120 $(CC) $(CFLAGS) -c switch_buttons.c | |
121 | |
122 xreview.o: xreview.c xreview.h | |
123 $(CC) $(CFLAGS) -c xreview.c | |
124 | |
125 #-------------------------------------------------------------------------- | |
126 | |
127 | |
128 | |
129 | |
130 | |
131 | |
132 | |
133 | |
134 |