about summary refs log tree commit diff stats
path: root/freebsd/Makefile
diff options
context:
space:
mode:
authorStevan Andjelkovic <stevan@student.chalmers.se>2011-01-17 18:51:22 +0000
committerStevan Andjelkovic <stevan@student.chalmers.se>2011-01-17 18:51:22 +0000
commit1b9ab3618ebc5021e9bd9df6fc7a871bf9b922e0 (patch)
tree57b5eb2b1719316c6e9299612d9ec3d31369ac1f /freebsd/Makefile
parent1bbe7631c3b8603141c3dd5917a8cd3516610caf (diff)
downloadxombrero-1b9ab3618ebc5021e9bd9df6fc7a871bf9b922e0.tar.gz
Fixed Makefile for FreeBSD, it works but could be done better. Thanks to
swills@freebsd.

ok marco@
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r--freebsd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index bf5ff4e..5ce3b36 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -2,7 +2,7 @@
 
 LIBS= gtk+-2.0 webkit-1.0 libsoup-2.4
 
-LDADD= -llibutil
+LDADD= -lutil
 GTK_CFLAGS!= pkg-config --cflags $(LIBS)
 GTK_LDFLAGS!= pkg-config --libs $(LIBS)
 CFLAGS+= $(GTK_CFLAGS) -Wall -pthread
@@ -24,7 +24,7 @@ javascript.h: ../js-merge-helper.pl ../hinting.js
 xxxterm.o: javascript.h
 
 xxxterm: ../xxxterm.o freebsd.o
-	$(CC) $(LDFLAGS) -o $@ $+ $(LDADD)
+	$(CC) $(LDFLAGS) -o $@ $+ $(LDADD) ../xxxterm.o freebsd.o
 
 install: all
 	install -m 755 -d $(DESTDIR)$(BINDIR)