cflags.mk 386 B

12345678910111213
  1. # CFLAGS/LDFLAGS definitions for CGIs
  2. CFLAGS+= -Wall -I${.CURDIR}
  3. CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
  4. CFLAGS+= -Wmissing-declarations
  5. CFLAGS+= -Wshadow -Wpointer-arith -Wsign-compare -Wcast-qual
  6. CFLAGS+= -I/usr/local/include
  7. CFLAGS+= -fdata-sections -ffunction-sections
  8. LDFLAGS+= -Wl,--gc-sections
  9. LDFLAGS+= -L/usr/local/lib
  10. PGLIBS= -lpq -lpgcommon -lpgtypes -lpgport