
#
# FPAC PROJECT - F6FBB 1998
#

include ../make.defs

all: ../bin/fpaccfg ../shbin/fpaccfg
		
../bin/fpaccfg: fpaccfg.o ../version.h
	$(LD) $(LDFLAGS) -o ../bin/fpaccfg fpaccfg.o $(LIBS)
../shbin/fpaccfg: fpaccfg.o ../version.h
	$(LD) $(SHLDFLAGS) -o ../shbin/fpaccfg fpaccfg.o $(SHLIBS)
	
dep:
	$(CPP) $(CFLAGS) -M *.c > .depend

clean:
	rm -f core *.o *% bin/core shbin/core

strip:
	strip ../bin/fpaccfg
	strip ../shbin/fpaccfg

update:
	cp ../shbin/fpaccfg $(FPACDISK)/bin
	strip  $(FPACDISK)/bin/fpaccfg

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif

