#
# $Id: Makefile,v 1.7 1999/02/19 11:43:34 saw Rel $
#

SRCS = $(wildcard *.c)
OBJS = $(SRCS:.c=.o)

include ../../Rules.make

all: libsimpleapps.a

include .depend

%.o: %.c
	$(CC) -c -o $(@) $(CFLAGS) $(<)

.depend:
	$(CC) -M $(CFLAGS) $(SRCS) >$(@)

../../Rules.make:
	$(MAKE) -C $(@D) $(@F)

libsimpleapps.a: $(OBJS)
	ar rcs $(@) $(^)

install:

remove:

clean:
	rm -f core *.a *.so *.o *~

extraclean: clean
	rm -f .#* .depend

.PHONY: all install remove clean extraclean
