Skip to content
Snippets Groups Projects
Commit 3199ee9d authored by ricardo.dossanto1's avatar ricardo.dossanto1
Browse files

Auto commit generation via script

parent 2b1fa2f2
Branches
No related tags found
No related merge requests found
### C ###
*.o
*.exe
*.out
*.app
#the compiler
CC:=gcc
CFLAGS:=-g -Wall -Wextra -fsanitize=address -fsanitize=leak -std=gnu11
#linker flags
LDFLAGS:=-lm -lSDL2 -fsanitize=address
FNAME:=exo1
exo1: exo1.o
$(CC) -o $@ $^ $(LDFLAGS)
./exo1
clean:
@rm -f *.o exo1
int main(void){
}
#the compiler
CC:=gcc
CFLAGS:=-g -Wall -Wextra -fsanitize=address -fsanitize=leak -std=gnu11
#linker flags
LDFLAGS:=-lm -lSDL2 -fsanitize=address
FNAME:=exo2
exo2: exo2.o
$(CC) -o $@ $^ $(LDFLAGS)
./exo2
clean:
@rm -f *.o exo2
int main(void){
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment