diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-12 23:58:18 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-12 23:58:18 +0100 |
commit | 59f17375c9a7368487e870326bc6facdf4e456ce (patch) | |
tree | 73d2f141c909eee9ae9e1b268cef9c56ef635d78 /libglouglou/Makefile | |
parent | compilation basics (diff) | |
download | glouglou-59f17375c9a7368487e870326bc6facdf4e456ce.tar.xz glouglou-59f17375c9a7368487e870326bc6facdf4e456ce.zip |
correct includes and fix CFLAGS
Diffstat (limited to 'libglouglou/Makefile')
-rw-r--r-- | libglouglou/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libglouglou/Makefile b/libglouglou/Makefile index 33df3a6..32176b6 100644 --- a/libglouglou/Makefile +++ b/libglouglou/Makefile @@ -1,6 +1,4 @@ -CFLAGS += $(shell pkg-config --cflags elementary evas ecore) -LIBS += $(shell pkg-config --libs elementary evas ecore) -CFLAGS += -Wall -O2 +CFLAGS += -Wall -O2 -fPIC -shared PREFIX=/usr/local INCLUDEDIR=$(PREFIX)/include @@ -15,7 +13,7 @@ OBJECTS = $(SOURCES:.c=.o) all: $(TARGET) $(TARGET): $(OBJECTS) - $(CC) -shared -o $(TARGET) $(OBJECTS) + $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) install: @echo "installation of $(LIBNAME)" |