1# $Id: makefile.unx 57 2009-10-23 13:46:06Z dukelsky $
2# Legacy makefile for building on a generic Unix system
3# No support for the Husky build environment
4
5CC=	cc
6LD=	ld
7CFALGS=
8CDEFS=	-DUNIX
9COPT=
10LIB=	ar
11RANLIB=	ranlib
12OBJ=	.o
13
14TARGET=	libsmapiunix.a
15all: $(TARGET)
16
17include makefile.inc
18
19
20# Thunderbirds are go!
21
22.c.o:
23	$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
24	$(LIB) r $(TARGET) $@
25
26$(TARGET): $(OBJS)
27	$(RANLIB) $(TARGET)
28
29clean:
30	-rm *.o
31	-rm $(TARGET)
32
33distclean:
34	-rm libsmapiunix.so
35