Ticket #35295: makefile.diff

File makefile.diff, 643 bytes (added by icaines77@…, 12 years ago)

Fix makefile to work with macports.

  • GNUmakefile

    old new  
    1 CC = /usr/bin/g++
     1CC = gcc
    22CCFLAGS = -g
    3 LDFLAGS =
     3LDFLAGS = "-lstdc++"
    44
    5 BOOST_VERSION = 1_43_0
    6 BOOST_ROOT    = ../
     5BOOST_ROOT    = @@PREFIX@@
    76BOOST_PREFIX  = $(BOOST_ROOT)
    8 BOOST_INCLUDES = $(BOOST_PREFIX)//boost_$(BOOST_VERSION)
     7BOOST_INCLUDES = $(BOOST_PREFIX)/include
    98BOOST_LIBS = $(BOOST_PREFIX)/lib
    109
    1110CCFLAGS += -Wall -I$(BOOST_INCLUDES)
     
    3130
    3231clean:
    3332        rm -f *.o core $(BINARY1) $(BINARY2)
     33
     34install:
     35        cp cputhrottle $(DESTDIR)@@PREFIX@@/bin/cputhrottle
     36 No newline at end of file