diff options
author | Case Duckworth | 2023-04-11 11:32:19 -0500 |
---|---|---|
committer | Case Duckworth | 2023-04-11 11:32:19 -0500 |
commit | af43060e1c93d5a4050a4730fecb0803753c8535 (patch) | |
tree | 679fac0d0c2167b70f39001780092d40a67c1b21 /Makefile | |
parent | Add link to protocol in readme (diff) | |
download | postcard-main.tar.gz postcard-main.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
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 | |||
3 | CSC = csc | ||
4 | PREFIX = /usr | ||
5 | PROGS = postcard mailbox | ||
6 | |||
7 | .SUFFIXES: | ||
8 | .SUFFIXES: .scm .o | ||
9 | |||
10 | all: $(PROGS) | ||
11 | |||
12 | .scm: | ||
13 | $(CSC) -o $@ $< | ||
14 | |||
15 | .PHONY: install clean | ||
16 | |||
17 | install: $(PROGS) | ||
18 | install -Dt $(DESTDIR)$(PREFIX)/bin $? | ||
19 | |||
20 | clean: | ||
21 | -rm -f $(PROGS) *.o | ||