btyacc-3.0-makefile.patch 535 B

1234567891011121314151617181920212223
  1. Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer
  2. --- a/Makefile 1999-07-15 19:40:12.000000000 +0200
  3. +++ b/Makefile 2009-09-04 15:27:15.000000000 +0200
  4. @@ -8,14 +8,13 @@
  5. HDRS = defs.h mstring.h
  6. -CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
  7. +CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
  8. -LDFLAGS = -static
  9. +LDFLAGS += -static
  10. LIBS =
  11. -CC = gcc
  12. -LINKER = gcc
  13. +LINKER = $(CC)
  14. # LINKER = cl
  15. # CC = cl