aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglouglou/Makefile6
-rw-r--r--libglouglou/gg_server.c5
2 files changed, 7 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)"
diff --git a/libglouglou/gg_server.c b/libglouglou/gg_server.c
index 3f075e0..4fdd07d 100644
--- a/libglouglou/gg_server.c
+++ b/libglouglou/gg_server.c
@@ -1,3 +1,8 @@
+#include <sys/socket.h>
+#include <net/if.h>
+#include <netinet/in.h>
+
+
struct gg_server {
};