src/server/safs/Makefile

changeset 23
a2c8fc23c90e
parent 14
b8bf95b39952
child 41
bb7a1f5a8b48
equal deleted inserted replaced
22:adb0bda54e6b 23:a2c8fc23c90e
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 BUILD_ROOT = ../../../ 29 SAFS_CFLAGS = -I/usr/include/mps -g
30 OBJ_DIR = $(BUILD_ROOT)build/
31 30
32 CFLAGS = -I/usr/include/mps -g 31 $(SAFS_OBJPRE)%.o: safs/%.c
33 LDFLAGS = 32 cc -o $@ -c $(SAFS_CFLAGS) $(CFLAGS) $<
34 33
35 include objs.mk 34 $(SAFS_OBJPRE)%.o: /safs/%.cpp
36 35 CC -o $@ -c $(SAFS_CFLAGS) $(CFLAGS) $<
37 all: $(SAFOBJS)
38
39 $(SAFS_OBJPRE)%.o: %.c
40 cc -o $@ -c $(CFLAGS) $<
41
42 $(SAFS_OBJPRE)%.o: %.cpp
43 CC -o $@ -c $(CFLAGS) $<
44 36

mercurial