blob: 51b93347acf1e0a5cc00c9810fe69e1bac13ed48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- ./Makefile 2006-10-05 08:37:03.000000000 +0000
+++ ./Makefile 2007-04-07 19:06:00.000000000 +0000
@@ -11,6 +11,8 @@
PACKAGE = $(ARCHIVE)
TMPDIR = /tmp
+LIBS=-lglcddrivers -lglcdgraphics
+
LIBNAME = libglcdprocdriver.so
SONAME = $(LIBNAME).1
@@ -24,6 +26,9 @@
all: $(LIBNAME)
+$(OBJS): %.o: %.c
+ $(CXX) -c -fPIC $(CXXFLAGS) $< -o $@
+
$(LIBNAME): $(OBJS)
- $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(SONAME)" -o $@
+ $(CXX) $(LDFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(SONAME)" -o $@
|