From 66c3a4f74cb3bb7e5c4b878832be871b90852b27 Mon Sep 17 00:00:00 2001 From: Stevan Andjelkovic Date: Mon, 17 Jan 2011 21:40:52 +0000 Subject: Further work on FreeBSD's Makefile. Thanks to aldis at bsdroot dot lv. ok marco@ --- freebsd/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/freebsd/Makefile b/freebsd/Makefile index 5ce3b36..d17e860 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -13,18 +13,20 @@ BINDIR?= $(PREFIX)/bin LIBDIR?= $(PREFIX)/lib MANDIR?= $(PREFIX)/share/man -CC?= gcc +CC?= cc -all: javascript.h xxxterm +all: ../javascript.h xxxterm -javascript.h: ../js-merge-helper.pl ../hinting.js +../javascript.h: ../js-merge-helper.pl ../hinting.js perl ../js-merge-helper.pl ../hinting.js \ - ../input-focus.js > javascript.h + ../input-focus.js > ../javascript.h -xxxterm.o: javascript.h +xxxterm.o: ../xxxterm.o -xxxterm: ../xxxterm.o freebsd.o - $(CC) $(LDFLAGS) -o $@ $+ $(LDADD) ../xxxterm.o freebsd.o +../xxxterm.o: ../javascript.h + +xxxterm: xxxterm.o freebsd.o + $(CC) $(LDFLAGS) -o $@ *.o $+ $(LDADD) install: all install -m 755 -d $(DESTDIR)$(BINDIR) -- cgit 1.4.1-2-gfad0