# to use this program.
#
-SRCDIR = .
-
-VPATH = $(SRCDIR)
-
-include $(SRCDIR)/../Make.defaults
-include $(SRCDIR)/../Make.rules
-
-TOPDIR=$(SRCDIR)/..
+include ../Make.defaults
+include ../Make.rules
+TOPDIR=$(CDIR)/..
FILES=
all: $(TARGET)
-$(TARGET): check-choosers $(TOPDIR)/Make.defaults $(FILES)
- $(LD) $(LD3264) -o $@ -r $(FILES)
-
-clean:
- $(RM) -f $(TARGET) $(FILES)
-
-check-choosers:
- @if [ -n "$(FILES)" ]; then \
- exit 0; \
- else \
+$(TARGET): $(TOPDIR)/Make.defaults $(FILES)
+ @if [ -z "$(FILES)" ]; then \
echo "You need to define at least one chooser in Make.defaults"; \
exit 1; \
fi
+ $(LD) -o $@ -r $(FILES)
+
+clean:
+ $(RM) -f $(TARGET) $(FILES)