#
# Some install variables
#
CC=gcc
CP=cp
AR=ar
RANLIB=ranlib
#CFLAGS=$(CAM_FLAGS) -DDEBUG -DPSATHER_TRACE -Wall -I ../pSather -I../am -I../am/lwp -g
CFLAGS=$(CPS_FLAGS) -Wall -I ../pSather -I../am -I../am/lwp -g -O2

OBJ=
TOBJ=

all:	gate random

gate:	gate.o ../pSather/pSather.a
	gcc -o gate -g gate.o $(LPS_FLAGS)

random:	random.o ../pSather/pSather.a
	gcc -o random -g random.o $(LPS_FLAGS)

ALL:	$(OBJ)

clean:
	@-rm *.o 2> /dev/null

.c.o:;
	gcc $(CFLAGS) -c $*.c

