sistema_progs

Programas para customizar o meu entorno de traballo nos meus equipos persoais
Log | Files | Refs

Makefile (574B)


      1 # -*- mode: makefile-bsdmake -*-
      2 
      3 all:
      4 .PHONY: all install
      5 
      6 .warning This is not GNU make. Plaese use GNU make (gmake).
      7 .warning Trying to redirect to gmake...
      8 
      9 .ifdef INSDIR
     10 assign_insdir := INSDIR="$(INSDIR)"
     11 .endif
     12 
     13 .ifdef INSDIR_DOC
     14 assign_insdir_doc := INSDIR_DOC="$(INSDIR_DOC)"
     15 .endif
     16 
     17 .ifdef PREFIX
     18 assign_prefix := PREFIX="$(PREFIX)"
     19 .endif
     20 
     21 .ifdef DESTDIR
     22 assign_destdir := DESTDIR="$(DESTDIR)"
     23 .endif
     24 
     25 all:
     26 	gmake -f GNUmakefile all
     27 install:
     28 	gmake -f GNUmakefile install $(assign_insdir) $(assign_insdir_doc) $(assign_prefix) $(assign_destdir)
     29