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 =
|
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)"
|
||||||
|
|
Reference in a new issue