[padb-devel] Simple Makefile patch
Ethan Mallove
ethan.mallove at sun.com
Wed Oct 28 17:32:52 GMT 2009
Little patch for Makefile to make compiling on Solaris easier.
Solaris C compiler is also named "cc", and it does not support
-Wall.
-Ethan
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 304)
+++ Makefile (working copy)
@@ -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