Dodal skripto za zagon simulatorja (ne deluje še), ter readme
This commit is contained in:
parent
c92932c0b8
commit
e79d4ae214
2 changed files with 26 additions and 0 deletions
10
ass2/README.md
Normal file
10
ass2/README.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
SIC/XE Emulator
|
||||
## Build
|
||||
|
||||
Za kompilacijo uporabite:
|
||||
|
||||
```bash
|
||||
g++ main.cpp implementations/*.cpp -I headers -o sic
|
||||
```
|
||||
|
||||
Alternativno lahko samo poženete skripto run.sh z ukazom v terminalu: ./run.sh
|
||||
16
ass2/run.sh
Executable file
16
ass2/run.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Build
|
||||
echo "Compiling..."
|
||||
g++ main.cpp implementations/*.cpp -I headers -o sic
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Build failed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Build successful."
|
||||
|
||||
# Run
|
||||
echo "Running sic..."
|
||||
./sic
|
||||
Loading…
Add table
Add a link
Reference in a new issue