[padb-devel] [padb] r305 committed - Patch from Ethan Mallove <ethan.mallove at sun.com>...

padb at googlecode.com padb at googlecode.com
Wed Oct 28 22:32:15 GMT 2009


Revision: 305
Author: apittman
Date: Wed Oct 28 15:31:42 2009
Log: Patch from Ethan Mallove <ethan.mallove at sun.com>
Use gcc rather than cc to compile minfo as that also works for
solaris where cc is the sun compiler.  Factor out CC and CFLAGS
into defines at the same time.

http://code.google.com/p/padb/source/detail?r=305

Modified:
  /trunk/src/Makefile

=======================================
--- /trunk/src/Makefile	Thu Oct  1 12:38:38 2009
+++ /trunk/src/Makefile	Wed Oct 28 15:31:42 2009
@@ -2,11 +2,13 @@
  INSTALL_DIR=/usr/local/
  CONFIG_DIR=/etc
  VERSION=3.0-rc1
+CC=gcc
+CFLAGS=-Wall -g

  FILES = Makefile minfo.c mpi_interface.h padb

  minfo.x: minfo.c mpi_interface.h
-	cc -g minfo.c -o minfo.x -ldl -Wall
+	$(CC) minfo.c -o minfo.x -ldl $(CFLAGS)

  install: minfo.x
  	/bin/mkdir -p ${INSTALL_DIR}/bin




More information about the padb-devel mailing list