This commit is contained in:
Mylloon 2024-03-26 20:50:32 +01:00
parent 872f824aae
commit cda4e311ea
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -13,7 +13,7 @@ CFLAGS = -std=gnu11 -pedantic
LDFLAGS = LDFLAGS =
EXE = ordonnanceur EXE = ordonnanceur
EXE_EXT = elf EXE_EXT = .elf
ARCHIVE = kennel ARCHIVE = kennel
PDF_DIR = report PDF_DIR = report
@ -22,7 +22,7 @@ PDF_DIR = report
$(CC) -c $< -o $@ $(CFLAGS) $(CC) -c $< -o $@ $(CFLAGS)
compilation: $(OBJETS) compilation: $(OBJETS)
$(CC) -o $(EXE).$(EXE_EXT) $(OBJETS) $(LDFLAGS) $(CC) -o $(EXE)$(EXE_EXT) $(OBJETS) $(LDFLAGS)
main: CFLAGS += -O3 main: CFLAGS += -O3
main: compilation main: compilation
@ -44,7 +44,7 @@ pdf-clean:
$(MAKE) clean $(MAKE) clean
clean: pdf-clean clean: pdf-clean
$(RM) $(OBJETS) "$(EXE).$(EXE_EXT)" "$(ARCHIVE).tar" $(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE).tar"
archive: pdf-make archive: pdf-make
$(MKDIR) "$(ARCHIVE)" $(MKDIR) "$(ARCHIVE)"