#
# PDM LWP 1.1 makefile for DJGPP
#
#LIBS = ../lib/PDMLWP.a /djgpp/contrib/fortify/fortify.a
LIBS = ../lib/PDMLWP.a
target = example1.exe example2.exe example3.exe example4.exe example5.exe\
         example6.exe example7.exe example8.exe benchmk.exe

%.exe : %.c
	$(CC) $(CCOPT) $(INCLUDE) -Wall $< $(LIBS) -o $@

%.exe : %.cc
	$(CC) $(CCOPT) $(INCLUDE) -Wall $< $(LIBS) -o $@

all : $(target)

$(target) : ../include/lwp.h ../include/threads.h $(LIBS)

clean :
	rm $(target)

include ../makedefs.gnu
