recipes

packages recipes for the <noname> package manager
Log | Files | Refs

c.mk (382B)


      1 # farbfeld version
      2 VERSION = 3
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 # flags
     11 CPPFLAGS = -D_DEFAULT_SOURCE
     12 CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os \
     13 	-I$(libpng)/include \
     14 	-I$(libjpeg)/include
     15 LDFLAGS  = -s \
     16 	-L$(libjpeg)/lib \
     17 	-L$(libpng)/lib
     18 PNG_LDFLAGS = -lpng
     19 JPG_LDFLAGS = -ljpeg
     20 
     21 # compiler and linker
     22 CC = cc