Last change
on this file since 1 was
1,
checked in by lnalod, 15 years ago
|
Initial import of YAO sources
|
File size:
1.5 KB
|
Line | |
---|
1 | # ------------------------------------------------------------ |
---|
2 | # Compilation Specification File. Use GNU make !! |
---|
3 | # ------------------------------------------------------------ |
---|
4 | YCTOOL=yf2m yrms ylmodf yrcmt Ydf1 |
---|
5 | # ------------------------------------------------------------ |
---|
6 | CP=cp |
---|
7 | # ------------------------------------------------------------ |
---|
8 | CC=gcc |
---|
9 | CFLAGS=-O0 -lm -g -Wall |
---|
10 | CPP=g++ |
---|
11 | CPPFLAGS=-O0 -lm -g -Wall |
---|
12 | |
---|
13 | all: $(YCTOOL) |
---|
14 | |
---|
15 | install: all |
---|
16 | -@echo " " |
---|
17 | -@echo " --> Installation de Yao tools:" |
---|
18 | -@echo " --> verification/creation du repertoire d-installation ..." |
---|
19 | -@case `uname -s` in \ |
---|
20 | Linux) \ |
---|
21 | case `uname -m` in \ |
---|
22 | x86_64) \ |
---|
23 | mkdir ../bin/x86_64 ;; \ |
---|
24 | *) \ |
---|
25 | mkdir ../bin/lnx86 ;; \ |
---|
26 | esac;; \ |
---|
27 | SunOS) \ |
---|
28 | mkdir ../bin/solaris ;; \ |
---|
29 | Darwin) \ |
---|
30 | mkdir ../bin/darwin ;; \ |
---|
31 | *) echo "UNKNOWN LOCAL MACHINE TYPE ($(ULOCAL))";; \ |
---|
32 | esac |
---|
33 | -@echo " --> copie les outils compiles ..." |
---|
34 | @case `uname -s` in \ |
---|
35 | Linux) \ |
---|
36 | case `uname -m` in \ |
---|
37 | x86_64) \ |
---|
38 | echo " --> Linux 64 bits INSTALL ..."; \ |
---|
39 | $(CP) $(YCTOOL) ../bin/x86_64/ ;; \ |
---|
40 | *) \ |
---|
41 | echo " --> Linux 32 bits INSTALL ..."; \ |
---|
42 | $(CP) $(YCTOOL) ../bin/lnx86/ ;; \ |
---|
43 | esac;; \ |
---|
44 | SunOS) \ |
---|
45 | echo " --> Sun Solaris INSTALL ..."; \ |
---|
46 | $(CP) $(YCTOOL) ../bin/solaris/ ;; \ |
---|
47 | Darwin) \ |
---|
48 | echo " --> MacOS X Darwin INSTALL ..."; \ |
---|
49 | $(CP) $(YCTOOL) ../bin/darwin/ ;; \ |
---|
50 | *) echo "UNKNOWN LOCAL MACHINE TYPE ($(ULOCAL))";; \ |
---|
51 | esac |
---|
52 | |
---|
53 | clean: |
---|
54 | -rm -f *.o *.a $(YCTOOL) |
---|
Note: See
TracBrowser
for help on using the repository browser.