summaryrefslogtreecommitdiff
blob: c47eec9a12d90c480043d1bf8e1ce3fcaed06aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ./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 $@