# # Makefile for stress test program. # # Put your user programs here. # # This is a version of gcc that is configured as a "cross-compiler". # A cross-compiler runs on platform A and generates code for platform B. # In this case, this version of gcc runs on DEC Alphas running Digital UNIX and # generates code for DEC MIPS machines running Ultrix. CC = /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/bin/mips-dec-ultrix-gcc INCLUDE = -I../include -I/cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include CFLAGS = -g -DUSER LIBS = user_minithread.o mtio.o APPS = barber test memhog test2 vm_test vm_test.2 hello all: $(APPS) # specify how to compile the .c files threat.mipsi: threat.mipsi.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) threat.mipsi.c $(LIBS) -o threat.mipsi threat.mt: threat.mt.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) threat.mt.c $(LIBS) -o threat.mt hello: hello.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) hello.c $(LIBS) -o hello vm_test: vm_test.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) vm_test.c $(LIBS) -o vm_test memhog: memhog.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) memhog.c $(LIBS) -o memhog vm_test.2: vm_test.2.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) vm_test.2.c $(LIBS) -o vm_test.2 barber: barber.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) barber.c $(LIBS) -o barber test: test.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) test.c $(LIBS) -o test test2: test2.c $(LIBS) $(CC) $(CFLAGS) $(INCLUDE) test2.c $(LIBS) -o test2 user_minithread.o: user_minithread.c $(CC) $(CFLAGS) $(INCLUDE) -c user_minithread.c mtio.o: mtio.c $(CC) $(CFLAGS) $(INCLUDE) -c mtio.c clean: rm -f *.o *~ *.bak $(APPS) depend: makedepend -- $(CFLAGS) -- $(INCLUDE) -- *.c # DO NOT DELETE THIS LINE -- make depend depends on it. barber.o: ../include/synch.h ../include/minithread.h barber.o: ../include/minithread_public.h ../include/minithread_md.h barber.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h barber.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h barber.o: mtio.h barber.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/sys/time.h hello.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h hello.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h mtio.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdarg.h mtio.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h mtio.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h mtio.o: mtio.h ../include/mt_os.h test.o: ../include/minithread.h ../include/minithread_public.h test.o: ../include/minithread_md.h ../include/synch.h mtio.h test.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h test.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h test2.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h test2.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h test2.o: ../include/minithread.h ../include/minithread_public.h test2.o: ../include/minithread_md.h ../include/synch.h mtio.h threat.mipsi.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h threat.mipsi.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h threat.mipsi.o: ../include/minithread.h ../include/minithread_public.h threat.mipsi.o: ../include/minithread_md.h ../include/mutex.h threat.mipsi.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/sys/time.h threat.mt.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h threat.mt.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h threat.mt.o: ../include/minithread.h ../include/minithread_public.h threat.mt.o: ../include/minithread_md.h ../include/mutex.h threat.mt.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/sys/time.h user_minithread.o: ../include/mt_os.h ../include/minithread.h user_minithread.o: ../include/minithread_public.h ../include/minithread_md.h user_minithread.o: ../include/synch.h user_minithread.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h user_minithread.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h vm_test.2.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h vm_test.2.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h vm_test.2.o: mtio.h vm_test.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/stdio.h vm_test.o: /cse/courses/cse451/97au/support/gcc/mips-dec-ultrix/include/ansi_compat.h vm_test.o: mtio.h