# # ******************************************************************* # * Makefile * # * Posix Thread Test Prototype * # * * # * Author: Arash Partow * # * * # ******************************************************************* # MAKE = make CXX = i686-pc-cygwin-g++ OPTIMIZATION_OPT = -O2 OPTIONS = -pedantic -ansi -Wall -g $(OPTIMIZATION_OPT) -o OPTIONS_LIBS = -pedantic -ansi -Wall -g $(OPTIMIZATION_OPT) -c #LIBS = -lpthread #LIBS = -mthreads LIBS = OBJS = Thread.o \ Mutex.o \ StringTokenizer.o ThreadTest.exe: ThreadTestPrototype.o $(OBJS) $(CXX) $(OPTIONS) $@ $^ $(LIBS) .cpp.o: $(CXX) $(OPTIONS_LIBS) $? clean: rm -f core *.o *.bak *stackdump *.dll