Fix makefile
This commit is contained in:
parent
ea6bc67489
commit
57a2e1dbac
11
Makefile
11
Makefile
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: all test run
|
.PHONY: all test run clean
|
||||||
|
|
||||||
SOURCES=$(shell git ls-tree -r master --name-only)
|
SOURCES=Makefile README.md private/util.rkt secret_flags smol-http/http-msg.rkt smol-http/info.rkt smol-http/main.rkt smol-http/util.rkt webcrawler
|
||||||
CCIS_TEAM_NAME=hash-lang-uwu
|
CCIS_TEAM_NAME=hash-lang-uwu
|
||||||
CCIS_PROJECT_NAME=project4
|
CCIS_PROJECT_NAME=project4
|
||||||
CCIS_SERVER=login.ccs.neu.edu
|
CCIS_SERVER=login.ccs.neu.edu
|
||||||
|
@ -25,7 +25,7 @@ endif
|
||||||
./webcrawler -d $(FB_USERNAME) $(FB_PASSWORD)
|
./webcrawler -d $(FB_USERNAME) $(FB_PASSWORD)
|
||||||
|
|
||||||
.setup:
|
.setup:
|
||||||
raco pkg install smol-http/
|
-raco pkg install smol-http/
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
upload: $(SOURCES)
|
upload: $(SOURCES)
|
||||||
|
@ -34,3 +34,8 @@ upload: $(SOURCES)
|
||||||
|
|
||||||
submit: upload
|
submit: upload
|
||||||
ssh $(CCIS_SERVER) -t -- "cd $(CCIS_PATH); make clean; $(CCIS_TURNIN) $(CCIS_PROJECT_NAME) ."
|
ssh $(CCIS_SERVER) -t -- "cd $(CCIS_PATH); make clean; $(CCIS_TURNIN) $(CCIS_PROJECT_NAME) ."
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) .setup
|
||||||
|
find . \( -iname '*.zo' -o -iname '*.dep' \) -delete
|
||||||
|
find . -type d -iname compiled -delete
|
||||||
|
|
Loading…
Reference in New Issue