add make shit
This commit is contained in:
parent
0b637f7ac3
commit
d5962f10e3
3 changed files with 19 additions and 0 deletions
2
assignment-2a/.gitignore
vendored
2
assignment-2a/.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
/build
|
/build
|
||||||
/result*
|
/result*
|
||||||
.cache
|
.cache
|
||||||
|
|
||||||
|
hw2a.michael.zhang.zip
|
||||||
|
|
14
assignment-2a/Makefile
Normal file
14
assignment-2a/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
ZIP := zip
|
||||||
|
|
||||||
|
HANDIN := hw2a.michael.zhang.zip
|
||||||
|
SOURCES := $(shell find -name "*.cpp")
|
||||||
|
|
||||||
|
all: $(HANDIN)
|
||||||
|
|
||||||
|
$(HANDIN): src/HW2a.cpp README.md
|
||||||
|
$(ZIP) -r $@ $^
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(HANDIN)
|
3
assignment-2a/README.md
Normal file
3
assignment-2a/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Assignment 2A
|
||||||
|
|
||||||
|
Should compile on CSE labs machines.
|
Loading…
Reference in a new issue