# $Id: makefile.unx,v 1.19 2002/11/12 13:47:21 stas_degteff Exp $
# Legacy makefile for building on a generic Unix system
# No support for the Husky build environment

CC=	cc
LD=	ld
CFALGS=
CDEFS=	-DUNIX
COPT=
LIB=	ar
RANLIB=	ranlib
OBJ=	.o

TARGET=	libsmapiunix.a
all: $(TARGET)

include makefile.inc


# Thunderbirds are go!

.c.o:
	$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
	$(LIB) r $(TARGET) $@

$(TARGET): $(OBJS)
	$(RANLIB) $(TARGET)

clean:
	-rm *.o
	-rm $(TARGET)

distclean:
	-rm libsmapiunix.so


syntax highlighted by Code2HTML, v. 0.9.1