#
# This makefile is created by rsxide (release 10/99)
#

.SUFFIXES: .exe .res .a .o .c .cpp .cc .cxx .m .rc .p .f .F .r .y .l .s .S .def .h

CC=gcc.exe
LD=gcc.exe
AR=ar.exe
RC=rc.exe
RSRC=rsrc.exe
IMP=makelib.exe
WIN32_FLAG=-Zwin32
RSX32_FLAG=-Zrsx32
DLL_FLAG=-Zdll
CRT_FLAG=-Zcrtdll=crtrsxnt
NRT_FLAG=-Zno-rte
SYS_FLAG=-Zsys
SO_FLAG=-Zso
STRIP_FLAG=-s
MT_FLAG=-Zmt


all: thread.exe

CC_TARGET_01=$(WIN32_FLAG) $(MT_FLAG) 
CFLAGS_TARGET_01=-O2 -Wall 

thread.exe: thread.o
	$(LD) $(CC_TARGET_01) -s  -o thread.exe thread.o

thread.o: thread.c
	$(CC) -c -o thread.o thread.c $(CC_TARGET_01)  $(CFLAGS_TARGET_01)

