Makefile v0.31 fixed object compilation
authorken <ken@mihrtec.com>
Fri, 16 Dec 2016 07:01:59 +0000 (23:01 -0800)
committerken <ken@mihrtec.com>
Fri, 16 Dec 2016 07:01:59 +0000 (23:01 -0800)
Makefile

index a1e743f..d37a162 100644 (file)
--- 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.