Skip to content

Commit

Permalink
first task
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-homola committed Dec 1, 2023
1 parent ecf79bd commit 42bf6fb
Show file tree
Hide file tree
Showing 4 changed files with 1,044 additions and 0 deletions.
14 changes: 14 additions & 0 deletions task01/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

.PHONY: compile clean run

compile: program.x

run: program.x
./$< < input.txt > output.txt && cat output.txt

clean:
rm -f *.x

program.x: source.cpp Makefile
g++ -g -O2 $< -o $@

Loading

0 comments on commit 42bf6fb

Please sign in to comment.