about summary refs log tree commit diff stats
path: root/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index 3e3de1b..0f42e8c 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -9,7 +9,7 @@ LIBS+= libsoup-2.4 gnutls
 LDADD= -lutil
 GTK_CFLAGS!= pkgconf --cflags $(LIBS)
 GTK_LDFLAGS!= pkgconf --libs $(LIBS)
-CFLAGS+= $(GTK_CFLAGS) -O2 -Wall -I. -I..
+CFLAGS+= $(GTK_CFLAGS) -O0 -Wall -I. -I..
 LDFLAGS+= $(GTK_LDFLAGS)
 
 PREFIX?= /usr/local
@@ -59,10 +59,10 @@ tldlist.o: ../tldlist.o
 
 ../xombrero.o: ../javascript.h ../tooltip.h
 
-xombrero: xombrero.o freebsd.o marco.o about.o inspector.o whitelist.o settings.o \
-	cookie.o history.o completion.o inputfocus.o tldlist.o externaleditor.o \
-	unix.o
-	$(CC) $(LDFLAGS) -o $@ *.o $+ $(LDADD)
+xombrero: ../xombrero.o freebsd.o ../marco.o ../about.o ../inspector.o ../whitelist.o \
+	../settings.o ../cookie.o ../history.o ../completion.o ../inputfocus.o ../tldlist.o \
+	../externaleditor.o ../unix.o
+	$(CC) $(LDFLAGS) -o $@ ${.ALLSRC} $(LDADD)
 
 install: all
 	install -m 755 -d $(DESTDIR)$(BINDIR)