source: Sophya/trunk/SophyaLib/Mgr/mkmfprog.awk@ 3996

Last change on this file since 3996 was 218, checked in by ansari, 26 years ago

Creation module DPC/Mgr Reza 9/04/99

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.