init lab 3

This commit is contained in:
2024-03-09 16:44:29 +01:00
parent 7b40a4243d
commit 2314cf70aa
9 changed files with 814 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
binary = sequence-test
folder = sequences-int
objects = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
run: $(binary)
./$(binary)
$(binary): $(objects)
g++ -g3 -o $@ $^
%.o: %.cpp
g++ -g3 -c -o $@ $<
clean:
rm -f *.o
clear: clean
rm -f *.zip $(binary)
zip: clean
zip $(folder) Makefile *.cpp *.h