add make shit

This commit is contained in:
Michael Zhang 2023-04-08 23:48:40 -05:00
parent 0b637f7ac3
commit d5962f10e3
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
3 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,5 @@
/build /build
/result* /result*
.cache .cache
hw2a.michael.zhang.zip

14
assignment-2a/Makefile Normal file
View 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
View file

@ -0,0 +1,3 @@
# Assignment 2A
Should compile on CSE labs machines.