# MAKEFILE FOR INFRATE_ARMA

# Copyright (c) 2006 by Justin Dauwels and Nicholas Cedraschi 

#
# Permission is granted for anyone to copy, use, or modify this program 
# for purposes of research or education, provided this copyright notice 
# is retained, and note is made of any changes that have been made. 
#
# This program is distributed without any warranty, express or implied.
# As this program was written for research purposes only, it has not been
# tested to the degree that would be advisable in any important application.
# All use of this program is entirely at the user's own risk.



COMPILE = cc -c -O3 # Command to compile a module from .c to .o
LINK =    cc        # Command to link a program


# MAKE ALL THE MAIN PROGRAMS.  First makes the modules used.

progs:	modules
	$(COMPILE) infrate_arma.c
	$(LINK) infrate_arma.o rand.o -lm -o infrate_arma


modules:
	$(COMPILE) -DRAND_FILE=\"`pwd`/randfile\" rand.c

