From: ken Date: Fri, 16 Dec 2016 07:01:59 +0000 (-0800) Subject: Makefile v0.31 fixed object compilation X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fapc.git;a=commitdiff_plain;h=5e1b8a97f8f2252768d4b905be9e5d2e35e0d1e4 Makefile v0.31 fixed object compilation --- diff --git a/Makefile b/Makefile index a1e743f..d37a162 100644 --- a/Makefile +++ b/Makefile @@ -17,13 +17,13 @@ RLCMD = $(RLC) $(RLFLAGS) -o $@ $< # C CC ?= gcc -CFLAGS ?= -Wall -Werror -CCMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $< +CFLAGS ?= -Wall +CCMD = $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< # Linker LD ?= ld LDFLAGS ?= -LDLIBS ?= +LDLIBS ?= -lunistring LDCMD = $(LD) $(LDFLAGS) $(LDLIBS) -o $@ $^ # APC is built from Ragel, Bison and C source code only.