# $Id: makefile.aix,v 1.6 2002/11/12 13:47:21 stas_degteff Exp $
#
# Settings for AIX
# There is no makefile for AIX any more as we don't have a AIX machine to
# test things any more.
# To build husky on AIX with gcc, try to use makefile.lnx, but if you
# are using IBM's C compiler, add the following parameter to the CFLAGS:
#
# -qcpluscmt
#
# This will allow "//" style comments in ANSI C # source code.
CC=cc
CFLAGS=-qcpluscmt -DUNIX -D_AIX
LIB= ar
RANLIB= ranlib
OBJ= .o
TARGET= libsmapiaix.a
all: $(TARGET)
include makefile.inc
.c.o:
$(CC) -c $(CFLAGS) $*.c
$(TARGET): $(OBJS)
$(LIB) r $@ $?
$(RANLIB) $(TARGET)
clean:
-rm *.o
distclean: clean
-rm $(TARGET)
syntax highlighted by Code2HTML, v. 0.9.1