2 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
4 # U.S. Government Rights - Commercial software. Government users are subject
5 # to the Sun Microsystems, Inc. standard license agreement and applicable
6 # provisions of the FAR and its supplements.
8 # Use is subject to license terms.
10 # This distribution may include materials developed by third parties. Sun,
11 # Sun Microsystems, the Sun logo and Solaris are trademarks or registered
12 # trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
18 # Makefile to generate demo_module_4.so
21 # To point to a particular compiler, set CC.
22 # Example: setenv CC /usr/dist/share/forte_dev/bin/cc
23 # "make" : generate library for 64bit
24 # "make ARCH=32" : generate library for 32bit
25 # "make clean" : remove *.o , *.so
31 CFLAGS
=$(CFLAGS_
$(ARCH
))
35 PROG
= demo_module_4.so
41 $(CC
) $(CFLAGS
) $(LDLIBS
) -G
-o
$@
$(OBJS
)
43 $(CC
) $(CFLAGS
) -g
-o
$@
-c
$<
46 rm -f me4LoadGroup.o demo_module_4.so