This repository has been archived on 2022-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
Ecosysteme/Makefile
Mylloon 08584564bd
Ajouts
- Récupère des informations via CLI, avec des valeurs par défaut le cas échéant
- Début classe Univers
- Fonction initialisation de la simulation
- Makefile
2022-03-31 13:31:37 +02:00

20 lines
388 B
Makefile

CCPP = g++
CFLAGS = -I. -Wall -Wextra -fanalyzer --std=c++17
CFLAGS2 = -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter
SOURCES = $(shell find . -name '*.cpp')
OBJECTS = $(SOURCES:.cpp=.o)
NOM = ecosyteme
%.o: %.cpp
$(CCPP) -c -o $@ $< $(CFLAGS) $(CFLAGS2)
main: $(OBJECTS)
$(CCPP) -o $(NOM) $^ $(CFLAGS) $(CFLAGS2)
all:
main
clean:
rm *.o $(NOM)