ext
This commit is contained in:
parent
872f824aae
commit
cda4e311ea
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -13,7 +13,7 @@ CFLAGS = -std=gnu11 -pedantic
|
|||
LDFLAGS =
|
||||
|
||||
EXE = ordonnanceur
|
||||
EXE_EXT = elf
|
||||
EXE_EXT = .elf
|
||||
|
||||
ARCHIVE = kennel
|
||||
PDF_DIR = report
|
||||
|
@ -22,7 +22,7 @@ PDF_DIR = report
|
|||
$(CC) -c $< -o $@ $(CFLAGS)
|
||||
|
||||
compilation: $(OBJETS)
|
||||
$(CC) -o $(EXE).$(EXE_EXT) $(OBJETS) $(LDFLAGS)
|
||||
$(CC) -o $(EXE)$(EXE_EXT) $(OBJETS) $(LDFLAGS)
|
||||
|
||||
main: CFLAGS += -O3
|
||||
main: compilation
|
||||
|
@ -44,7 +44,7 @@ pdf-clean:
|
|||
$(MAKE) clean
|
||||
|
||||
clean: pdf-clean
|
||||
$(RM) $(OBJETS) "$(EXE).$(EXE_EXT)" "$(ARCHIVE).tar"
|
||||
$(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE).tar"
|
||||
|
||||
archive: pdf-make
|
||||
$(MKDIR) "$(ARCHIVE)"
|
||||
|
|
Reference in a new issue