diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-31 22:06:02 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-31 22:06:02 +0100 |
commit | f2f1bb631f161299e2172612dcd40e1777ad5f5c (patch) | |
tree | 3aaab8caf56395a6ec62375acaa254d81587d12a | |
parent | prve ne pozabiš nikoli (diff) | |
download | ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.gz ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.bz2 ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.lz ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.xz ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.zst ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.zip |
-rw-r--r-- | ebs.c | 2 | ||||
-rw-r--r-- | makefile | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -114,9 +114,11 @@ static void izhod_poln (struct ebs * e) { void ebs_init (struct ebs * e) { memset(e, '\0', sizeof *e); +#ifndef NO_HOOKS e->peek = peek; e->poke = poke; e->inštrukcija = inštrukcija; +#endif e->vhod_medp_indeks = 8; e->izhod_medp_indeks = 0; e->vhod_prazen = vhod_prazen; @@ -1,6 +1,6 @@ DESTDIR=/ CC=cc -MYCFLAGS=-Ofast -march=native -Wall -Wextra -Wformat -pedantic -g -I. # -fsanitize=address +MYCFLAGS=-O3 -DNO_HOOKS -march=native -Wall -Wextra -Wformat -pedantic -g -I. # -fsanitize=address MYLDFLAGS=-lpthread default: ebs disass @@ -8,7 +8,7 @@ default: ebs disass ebs: main.c ebs.c $(CC) $(MYCFLAGS) $(CFLAGS) main.c -o$@ $(MYLDFLAGS) $(LDFLAGS) -disass: disass +disass: disass.c $(CC) $(MYCFLAGS) $(CFLAGS) disass.c -o$@ $(MYLDFLAGS) $(LDFLAGS) install: |