úprava pro přesměrování ze souboru u t2b, v Makefile doplněno vytváření podadresáře bin pro binárky a upraven překlad do tohoto podadresáře.

This commit is contained in:
lruz committed 2026-01-28 16:28:30 +01:00
1 parent b3c9758f3f
commit dc2cafa317
5 files changed
+26 -9

No files matched your search

+11 -7
View File
@@ -1,16 +1,20 @@
all:
gcc -DNDEBUG b2t.c -o b2t
gcc -DNDEBUG t2b.c -o t2b
mkdir -p bin
gcc -DNDEBUG b2t.c -o bin/b2t
gcc -DNDEBUG t2b.c -o bin/t2b
debug:
gcc b2t.c -o b2t
gcc t2b.c -o t2b
mkdir -p bin
gcc b2t.c -o bin/b2t
gcc t2b.c -o bin/t2b
b2t:
gcc -DNDEBUG b2t.c -o b2t
mkdir -p bin
gcc -DNDEBUG b2t.c -o bin/b2t
t2b:
gcc -DNDEBUG t2b.c -o t2b
mkdir -p bin
gcc -DNDEBUG t2b.c -o bin/t2b
clean:
rm -f b2t t2b
rm -f bin/b2t bin/t2b