about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..db1bb6c --- /dev/null +++ b/Makefile
@@ -0,0 +1,21 @@
1# postcard
2
3CSC = csc
4PREFIX = /usr
5PROGS = postcard mailbox
6
7.SUFFIXES:
8.SUFFIXES: .scm .o
9
10all: $(PROGS)
11
12.scm:
13 $(CSC) -o $@ $<
14
15.PHONY: install clean
16
17install: $(PROGS)
18 install -Dt $(DESTDIR)$(PREFIX)/bin $?
19
20clean:
21 -rm -f $(PROGS) *.o