Fixup Makefiles.
This commit is contained in:
parent
ec915c1f2f
commit
a61fa0dc31
5 changed files with 10 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
*~
|
||||
brminv
|
||||
|
|
4
Makefile
Normal file
4
Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
.PHONY: backend
|
||||
backend:
|
||||
make -C backend
|
1
backend/.gitignore
vendored
Normal file
1
backend/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
frontend.scm
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
BRMINV_SOURCES=brminv.scm frontend.import.scm
|
||||
|
||||
brminv: $(BRMINV_SOURCES)
|
||||
touch brminv
|
||||
../brminv: $(BRMINV_SOURCES)
|
||||
touch ../brminv
|
||||
|
||||
frontend.o: frontend.import.scm
|
||||
frontend.import.scm: frontend.scm
|
||||
.PHONY: frontend.scm
|
||||
frontend.scm:
|
||||
cd ../frontend && npm run build && csi -b -q ../tools/schemify-tree.scm -- ../frontend/dist frontend frontend-lookup
|
||||
cd ../frontend && npm run build && cd ../backend && csi -b -q ../tools/schemify-tree.scm -- ../frontend/dist frontend frontend-lookup
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
(cdr args)))))
|
||||
|
||||
(define args (get-argv))
|
||||
(when (not (eq? (length args) 1))
|
||||
(when (< (length args) 1)
|
||||
(display "usage: schemify-tree dir")
|
||||
(newline)
|
||||
(exit 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue