# Buildfile for V/libc/exec
#	by Marvin Theimer, 7/83


.SUFFIXES: .b .c .s

OBJS =  execprog.b loadnewteam.b parseline.b setup.b validprogram.b \
	loadteam.b remoteexec.b

#ifdef X
C68FLAGS = -O -V -vx -DXEXEC -I../include
#else X
C68FLAGS =  -O -V -I../include
#endif X

lib: $(OBJS)

# how to make a .b file from a .c file
.c.b:
	cc68 $(C68FLAGS) -c $*.c

# how to make a .b file from a .s file
.s.b:
	cc68 $(C68FLAGS) -c $*.s

clean: 
	rm -f *.b *CKP *BAK

backup:
	cd ..; cpdir exec ../../Vbackup/libc/exec

build:
	buildmake.sh

xbuild:
	buildmake.sh -DX=1
