Fix makefile

This commit is contained in:
xenia 2020-04-12 02:03:06 -04:00
parent ea6bc67489
commit 57a2e1dbac
1 changed files with 8 additions and 3 deletions

View File

@ -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_PROJECT_NAME=project4
CCIS_SERVER=login.ccs.neu.edu
@ -25,7 +25,7 @@ endif
./webcrawler -d $(FB_USERNAME) $(FB_PASSWORD)
.setup:
raco pkg install smol-http/
-raco pkg install smol-http/
@touch $@
upload: $(SOURCES)
@ -34,3 +34,8 @@ upload: $(SOURCES)
submit: upload
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