pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a file for shared functions
[surf.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
9aace4f
..
0385a50
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,9
+4,9
@@
include config.mk
include config.mk
-SRC = surf.c
+SRC = surf.c
common.c
OBJ = $(SRC:.c=.o)
OBJ = $(SRC:.c=.o)
-LIBSRC = libsurf-webext.c
+LIBSRC = libsurf-webext.c
common.c
LIBOBJ = $(LIBSRC:.c=.lo)
all: options libsurf-webext.la surf
LIBOBJ = $(LIBSRC:.c=.lo)
all: options libsurf-webext.la surf
@@
-38,7
+38,7
@@
config.h:
libsurf-webext.la: $(LIBOBJ)
@echo libtool link $@
@$(LIBTOOL) --mode link --tag CC $(CC) $(LIBLDFLAGS) -o $@ \
libsurf-webext.la: $(LIBOBJ)
@echo libtool link $@
@$(LIBTOOL) --mode link --tag CC $(CC) $(LIBLDFLAGS) -o $@ \
- $(LIBOBJ) -rpath $(DESTDIR)$(LIBPREFIX)
+ $(LIBOBJ)
$(LIB)
-rpath $(DESTDIR)$(LIBPREFIX)
surf: $(OBJ)
@echo CC -o $@
surf: $(OBJ)
@echo CC -o $@