1# $Id$
2# Makefile for building a Windows 95 / NT SMAPI library
3# with RSXNT and EMX GCC running on Win32 or OS/2.
4# No support for the Husky build environment
5
6CC=     gcc
7CFLAGS= -Wall -Wno-long-long -w -Zwin32 -I..\smapi -I..\..\huskylib
8CDEFS=  -D__NT__ -DWINNT -D__RSXNT__
9COPT=
10LIB=    ar
11OBJ=	.o
12
13TARGET= smapirxw.a
14
15include makefile.inc
16
17
18# Thunderbirds are go!
19
20.c.o:
21	$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
22	$(LIB) r $(TARGET) $@
23
24$(TARGET): $(OBJS)
25
26clean:
27	-DEL *.o
28
29distclean:
30	-DEL $(TARGET)
31