Update Makefile
authorPavel A <pavel-a@users.noreply.github.com>
Wed, 21 Oct 2015 16:50:51 +0000 (19:50 +0300)
committerPavel A <pavel-a@users.noreply.github.com>
Wed, 21 Oct 2015 16:50:51 +0000 (19:50 +0300)
option -fPIC required for x64 shared lib

commandline/makemake/Makefile

index 8da94aecf261f87df52e6e8d4564c0a5d36774e9..0e32ac2a7fef2fc612d69e5433431004e1e8611c 100644 (file)
@@ -2,7 +2,7 @@
 # for Linux
 # (Quick'n'dirty - no .h dependencies, etc.)
 # Assume make is run in this dir
-# pa04 24-jan-2015
+# pa05 21-oct-2015
 
 # prototype:
 # Author: Christian Starkjohann
@@ -61,7 +61,7 @@ clean:
 # The main lib source is in lib/ and hiddata src with the cmd utility - reorg!
 #
 SRCS_LIB = $(HIDDATA) usb_relay_lib
-CFLAGS += -I../../lib
+CFLAGS += -I../../lib -fPIC
 VPATH =../../lib:..
 
 $(SHRLIB):     $(addsuffix .o, $(SRCS_LIB))