nyancat

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.inz.fi/nyancat
Log | Files | Refs | README

Makefile (325B)


      1 .POSIX:
      2 
      3 CFLAGS = -W -Wall -std=c99 $$(pkg-config icu-uc --cflags)
      4 LIBS = $$(pkg-config icu-uc --libs) -lm
      5 SRCS = nyancat.c
      6 OBJS = ${SRCS:.c=.o}
      7 PROGRAM = nyancat
      8 
      9 ${PROGRAM}: ${OBJS}
     10 	${CC} -o $@ ${OBJS} ${LIBS}
     11 .c.o:
     12 	${CC} ${CFLAGS} -c $< -o $@
     13 
     14 clean:
     15 	rm -f ${OBJS}
     16 
     17 distclean: clean
     18 	rm -f ${PROGRAM}
     19 
     20 .SUFFIXES: .c .o