diff options
author | Stevan Andjelkovic <stevan@student.chalmers.se> | 2011-01-17 21:40:52 +0000 |
---|---|---|
committer | Stevan Andjelkovic <stevan@student.chalmers.se> | 2011-01-17 21:40:52 +0000 |
commit | 66c3a4f74cb3bb7e5c4b878832be871b90852b27 (patch) | |
tree | f3af92dd4a413a717ee373c4aa43ea1941425f11 | |
parent | 4bd8833e4fe8c1290983b16528b52ff3836abbeb (diff) | |
download | xombrero-66c3a4f74cb3bb7e5c4b878832be871b90852b27.tar.gz |
Further work on FreeBSD's Makefile. Thanks to aldis at bsdroot dot lv.
ok marco@
-rw-r--r-- | freebsd/Makefile | 16 |
1 files 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) |