Changeset 88 for trunk/Makefile


Ignore:
Timestamp:
03/06/07 20:35:18 (17 years ago)
Author:
tim
Message:

Fixed a lazy NULL printing to work properly on Solaris.

Switched reglookup exit codes to more standard ones.

Changed Makefile to default to using -liconv except on Linux, since Solaris needs this too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r81 r88  
    1111
    1212CC=gcc
    13 OPTS=-std=gnu89 -pedantic -Wall -ggdb
     13OPTS=-std=gnu89 -pedantic -Wall
    1414INC=-I/usr/local/include
    1515LIB=-L/usr/local/lib
    1616
    1717UNAME := $(shell uname)
    18 ifeq ($(UNAME),FreeBSD)         
     18ifneq ($(UNAME),Linux
    1919  LIB:=$(LIB) -liconv
    2020endif
Note: See TracChangeset for help on using the changeset viewer.