aroplat

Utilitaire pour manipuler le format aroplat (métaformat de plat)
git clone git://git.asteride.xyz/~ldp/aroplat.git
Journaux | Fichiers | Références | LICENCE

Makefile (601B)


      1 PREFIX     = /usr/local
      2 BIN_DOS    = ${PREFIX}/bin
      3 
      4 CC         = cc
      5 COPTS_SPCL = -O2 -DNDEBUG
      6 COPTS      = -Wall -Wextra -Werror -Wpedantic --std=c89 ${COPTS_SPCL}
      7 
      8 .SUFFIXES: .c .o
      9 .c.o:
     10 	${CC} ${COPTS} -c "$<"
     11 
     12 all: abattre assembler
     13 
     14 abattre: abattre.o meta.o tampon.o
     15 	${CC} ${COPTS} -o "$@" abattre.o meta.o tampon.o
     16 
     17 assembler: assembler.o
     18 	${CC} ${COPTS} -o "$@" assembler.o
     19 
     20 install: abattre assembler
     21 	install -m 755 abattre ${BIN_DOS}/abattre
     22 	install -m 755 abattre ${BIN_DOS}/assembler
     23 
     24 uninstall:
     25 	rm -f ${BIN_DOS}/abattre
     26 	rm -f ${BIN_DOS}/assembler
     27 
     28 clean:
     29 	rm -f abattre assembler *.o