source: project/release/4/kitaaba/trunk/Makefile @ 25842

Last change on this file since 25842 was 25842, checked in by felix winkelmann, 9 years ago

added kitaaba (work in progress, far from finished)

  • Property svn:executable set to *
File size: 576 bytes
Line 
1#### Makefile for humble
2
3
4CSI = csi
5CSC = csc
6CSCFLAGS = -S -X ucs-literal.scm
7BACKUP_LOCATION = call-cc.org:
8ARCHIVE_NAME = `basename $$PWD`-`date +%Y%m%d`
9
10
11.PHONY: all clean tags system backup
12
13
14all: system apl
15
16apl: main.scm
17        $(CSC) $(CSCFLAGS) $< -lSDL -lSDL_ttf -o $@
18
19system:
20        CSC_OPTIONS="$(CSCFLAGS)" $(CSI) -bnq apl.system -e '(build-system apl/ui)'
21
22clean:
23        rm -f apl *.o *.exe *.so
24
25tags:
26        etags *.scm
27
28backup:
29        arcname=$(ARCHIVE_NAME); \
30        git archive --format tar --prefix $$arcname/ HEAD | gzip -c >$$arcname.tar.gz ; \
31        scp $$arcname.tar.gz $(BACKUP_LOCATION)
Note: See TracBrowser for help on using the repository browser.