
#-----------------------------------------------------
TOPDIR  :=  $(shell /bin/pwd)
TOPDIR  :=  $(TOPDIR)/..

include $(TOPDIR)/prerules.mk
#-----------------------------------------------------
EXEC = crond

all: $(EXEC)

crond: cron.o cron-parent.o bitstring.h Makefile
	$(CC) $(LDFLAGS) -o $@ cron.o cron-parent.o $(LDLIBS$(LDLIBS_$@))
	$(STRIP) crond

install:
	cp crond $(T_USBIN) 

clean:
	-rm -f $(EXEC) *.elf *.gdb *.[do]

#-----------------------------------------------------
include $(TOPDIR)/rules.mk
#-----------------------------------------------------
