Skip to content
Snippets Groups Projects
Commit 6fb99989 authored by hugo.marty's avatar hugo.marty
Browse files

Initialisation des fichiers

parent 5e9b7fe7
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
#The compiler
CC:=gcc
#The flags passed to the compiler
CFLAGS:=-g -Ofast -Wall -Wextra -fsanitize=address -fsanitize=leak -std=gnu11
#The flags passed to the linker
LDFLAGS:=-lm
#Path to the lib
VPATH:=lib
main: main.o physics.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
physics.o: physics.h
clean:
rm -f *.o main
#include "physics.h"
\ No newline at end of file
main 0 → 100755
File added
main.c 0 → 100644
#include "lib/physics.h"
int main(){
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment