Skip to content
Snippets Groups Projects

Resolve "Add pop function"

Merged ines.maya requested to merge 6-add-pop-function into main
2 unresolved threads
4 files
+ 12
76
Compare changes
  • Side-by-side
  • Inline
Files
4
Makefile deleted 100644 → 0
+ 0
14
CC=gcc
CFLAGS=-Wall -Wextra -pedantic -g -std=c11 -O3
CFLAGS_ASAN=-fsanitize=address -fno-omit-frame-pointer
LDFLAGS=-lm
LDFLAGS_ASAN=-fsanitize=address -fno-omit-frame-pointer
main: stack.o main.o
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LDFLAGS_ASAN)
%.o: %.c
$(CC) $(CFLAGS) $(CFLAGS_ASAN) -c $^ -o $@
clean:
rm -f *.o main
Loading