www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

fichiersDossiers.makefile (769B)


      1 REP_SOURCES := ./src
      2 
      3 REP_TRAVAIL := ./travail
      4 
      5 REP_DIST := ./dist
      6 
      7 REP_INCLUSIONS := $(REP_SOURCES)/inclusions
      8 
      9 REP_SCRIPTS := $(REP_SOURCES)/scripts
     10 
     11 REP_A_SUPPRIMER := $(REP_TRAVAIL) $(REP_DIST)
     12 
     13 
     14 
     15 IMAGE_CDROM := $(REP_DIST)/cdrom/gruntnetwork.iso
     16 
     17 NOYAU_ELF := $(REP_DIST)/noyau.elf
     18 
     19 POLICE_FNT := $(REP_DIST)/police.fnt
     20 
     21 SCRIPT_LD := $(REP_SCRIPTS)/creerImage.lds
     22 
     23 LISTE_FICHIERS_ISO := $(REP_SCRIPTS)/liste-chemins.lst
     24 
     25 
     26 
     27 FICHIERS_ISO := $(shell cut -d '=' -f 2- $(LISTE_FICHIERS_ISO))
     28 
     29 SOURCES := $(shell find $(REP_SOURCES) -name '*.c' -or -name '*.S' -or -name '*.fnt')
     30 
     31 OBJETS := $(patsubst %,$(REP_TRAVAIL)/%.o,$(SOURCES))
     32 
     33 OBJETS_LD := $(filter %.c.o %.S.o,$(OBJETS))
     34 
     35 OBJETS_FNT := $(filter %.fnt.o,$(OBJETS))
     36 
     37 DEPENDANCES := $(patsubst %.o,%.d,$(OBJETS))