|
Last change
on this file since 4001 was 3427, checked in by ansari, 18 years ago |
|
Corrections/maj mineures ds Examples (README, Makefile ...) , Reza 08/12/2007
|
-
Property svn:executable
set to
*
|
|
File size:
645 bytes
|
| Rev | Line | |
|---|
| [1433] | 1 | # ------------------ SOPHYA -------------------------
|
|---|
| [3427] | 2 | # Makefile for compiling and linking a simple C++
|
|---|
| [1433] | 3 | # program with SOPHYA class library
|
|---|
| 4 | # ---------------------------------------------------
|
|---|
| 5 | # GNU make program should be used with this makefile
|
|---|
| 6 | # ---------------------------------------------------
|
|---|
| 7 | # Usage: make prog_name
|
|---|
| 8 | # - compiles prog_name.cc -> prog_name.o
|
|---|
| 9 | # - links prog_name.o -> prog_name
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| [3427] | 12 | include $(SOPHYABASE)/include/sophyamake.inc
|
|---|
| [1433] | 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | %:%.cc
|
|---|
| 17 | %:%.o
|
|---|
| 18 | %.o:%.cc
|
|---|
| 19 |
|
|---|
| 20 | .PRECIOUS: % %.o
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | # --- Compilation and linking rules
|
|---|
| 24 | %:%.o
|
|---|
| [3427] | 25 | $(CXXLINK) -o $@ $< $(SOPHYAEXTSLBLIST)
|
|---|
| [1433] | 26 |
|
|---|
| 27 | %.o:%.cc
|
|---|
| [3427] | 28 | $(CXXCOMPILE) -c -o $@ $<
|
|---|
| [1433] | 29 |
|
|---|
| 30 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.