summaryrefslogtreecommitdiffstats
path: root/inf/rtk/offline/Makefile
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-01-04 22:24:14 +0100
committersijanec <anton@sijanec.eu>2021-01-04 22:24:14 +0100
commit8302da73a4ef0c3d0c44c689aba9161ae8eb8d17 (patch)
tree05d6fbe3f7ee9a28a70a515d9e7905d5e93eda7f /inf/rtk/offline/Makefile
parentMerge branch 'master' of https://git.šijanec.eu/sijanec/sola-gimb-2 (diff)
downloadsola-gimb-2-8302da73a4ef0c3d0c44c689aba9161ae8eb8d17.tar
sola-gimb-2-8302da73a4ef0c3d0c44c689aba9161ae8eb8d17.tar.gz
sola-gimb-2-8302da73a4ef0c3d0c44c689aba9161ae8eb8d17.tar.bz2
sola-gimb-2-8302da73a4ef0c3d0c44c689aba9161ae8eb8d17.tar.lz
sola-gimb-2-8302da73a4ef0c3d0c44c689aba9161ae8eb8d17.tar.xz
sola-gimb-2-8302da73a4ef0c3d0c44c689aba9161ae8eb8d17.tar.zst
sola-gimb-2-8302da73a4ef0c3d0c44c689aba9161ae8eb8d17.zip
Diffstat (limited to 'inf/rtk/offline/Makefile')
-rw-r--r--inf/rtk/offline/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/inf/rtk/offline/Makefile b/inf/rtk/offline/Makefile
new file mode 100644
index 0000000..dde543e
--- /dev/null
+++ b/inf/rtk/offline/Makefile
@@ -0,0 +1,23 @@
+default:
+ @echo "offline naloga in rešitev za ijs.rtk. recepti:"
+ @echo "- make prepare: prenese datoteke, potrebne za nalogo"
+ @echo "- make razdeli: razdeli naloge v posamezne datoteke"
+ @echo "- make npk: naredi program za najdaljši ponavljajoči kos"
+ @echo "- make resi: naredi program za reševanje"
+
+prepare:
+ wget http://rtk.ijs.si/2020/stiskanje/stiskanje-unix.in -c
+ wget http://rtk.ijs.si/2020/stiskanje/stiskanje.in -c
+
+resi:
+ gcc -Wall -pedantic -I. -g -oresi.out resi.c
+
+npk:
+ gcc -Wall -pedantic -I. -g -onpk.out npk.c
+
+razdeli:
+ gcc -Wall -pedantic -I. -g -orazdeli.out razdeli.c
+ ./razdeli.out < stiskanje-unix.in
+ rm -rf naloge
+ mkdir -p naloge
+ mv naloga*.txt naloge/