aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Robert Manea <gotmor@gmail.com>2009-10-05 10:35:07 +0200
committerGravatar Robert Manea <gotmor@gmail.com>2009-10-05 10:35:07 +0200
commita120934f0c209c68a13a5782371d68eaa97d290d (patch)
tree30ba42f7ae8261af2e26371103a50715b3e7f1dd /Makefile
parent85bd94abb4fb507b5d230a06f5f7c2b4138110ca (diff)
Source splitting
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2989afe..bc348a5 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CFLAGS!=echo -std=c99 `pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthre
LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -pthread $(LDFLAGS)
LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -pthread $(LDFLAGS)
-SRC = uzbl-core.c uzbl-events.c
+SRC = uzbl-core.c events.c callbacks.c
OBJ = ${SRC:.c=.o}
all: uzbl-browser options
@@ -20,10 +20,10 @@ options:
@echo Compiling $<
@${CC} -c ${CFLAGS} $<
-${OBJ}: uzbl-core.h uzbl-events.h config.h
+${OBJ}: uzbl-core.h events.h callbacks.h config.h
uzbl-core: ${OBJ}
- @echo Linking $<
+ @echo Linking object files
@${CC} -o $@ ${OBJ} ${LDFLAGS}
@@ -60,7 +60,8 @@ test-share-browser: uzbl-browser
clean:
rm -f uzbl-core
rm -f uzbl-core.o
- rm -f uzbl-events.o
+ rm -f events.o
+ rm -f callbacks.o
cd ./tests/; $(MAKE) clean
install: all