source:
Sophya/trunk/Poubelle/DPC:FitsIOServer/Mgr/mkmfprog.awk@
2080
| Last change on this file since 2080 was 658, checked in by , 26 years ago | |
|---|---|
| File size: 443 bytes | |
| Line | |
|---|---|
| 1 | { print $1 ": $(EXE)"$1 ; |
| 2 | print " " ; |
| 3 | xlib = "" |
| 4 | if (NF == 1) |
| 5 | obj = "$(OBJ)"$1".o"; |
| 6 | else if (NF == 2 && $2 == "DB") { |
| 7 | obj = "$(OBJ)"$1".o"; |
| 8 | xlib = "$(LIBSORA)"; |
| 9 | } |
| 10 | else { |
| 11 | obj = ""; |
| 12 | for (i=2;i<=NF;i++) { |
| 13 | if ($i == "DB") |
| 14 | xlib = "$(LIBSORA)" |
| 15 | else |
| 16 | obj = obj " $(OBJ)"$i; |
| 17 | } |
| 18 | } |
| 19 | print "$(EXE)"$1 ":" obj; |
| 20 | print " $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ " xlib |
| 21 | print " " |
| 22 | } |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)