URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [Makefile] - Rev 4
Go to most recent revision | Compare with Previous | Blame | View Log
#
# Makefile for ECO32 project
#
VERSION = 0.23
DIRS = doc
BUILD = `pwd`/build
.PHONY: all compiler builddir clean dist
all: compiler
for i in $(DIRS) ; do \
$(MAKE) -C $$i install ; \
done
compiler: builddir
# some commands here
# to build the compiler
rm -f $(BUILD)/bin/*.c
rm -f $(BUILD)/bin/*.o
rm -f $(BUILD)/bin/*.a
builddir:
mkdir -p $(BUILD)
mkdir -p $(BUILD)/bin
clean:
for i in $(DIRS) ; do \
$(MAKE) -C $$i clean ; \
done
rm -rf $(BUILD)
rm -f *~
dist: clean
(cd .. ; \
tar --exclude-vcs -cvf \
eco32-$(VERSION).tar \
eco32-$(VERSION)/* ; \
gzip -f eco32-$(VERSION).tar)
Go to most recent revision | Compare with Previous | Blame | View Log