Skip to content
Snippets Groups Projects
Verified Commit 46f56baa authored by orestis.malaspin's avatar orestis.malaspin
Browse files

added gitignore makefile

parent 12316634
Branches
No related tags found
No related merge requests found
Pipeline #14932 passed
queue_array_int.o
queue_array_int_partiel.o
queue_ptr_int.o
queue_ptr_int_partiel.o
CC:=gcc
# SAN:=-fsanitize=address
CFLAGS:=-Wall -Wextra -pedantic -g $(SAN)
LDFLAGS:=-lm $(SAN)
SOURCES := $(wildcard *.c)
OBJECTS := $(patsubst %.c, %.o, $(SOURCES))
all: $(OBJECTS)
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
@echo $@ >> .gitignore
.PHONY: clean all
clean:
rm -f *.o queue_ptr_int .gitignore
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment