diff options
-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: |