diff options
author | kris <kris@FreeBSD.org> | 2000-03-27 07:47:58 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-03-27 07:47:58 +0800 |
commit | 06811768025c4c86388fbfb10869fe73625a2175 (patch) | |
tree | 0034bfec94d63a0e05d239ad233b0cfa2e4dc3f0 /astro | |
parent | 13b674d8039f4dab00006b034ebe88364ccd9b4f (diff) | |
download | freebsd-ports-gnome-06811768025c4c86388fbfb10869fe73625a2175.tar.gz freebsd-ports-gnome-06811768025c4c86388fbfb10869fe73625a2175.tar.zst freebsd-ports-gnome-06811768025c4c86388fbfb10869fe73625a2175.zip |
Respect CC and CFLAGS
No response from: Maintainer (a long time ago)
Diffstat (limited to 'astro')
-rw-r--r-- | astro/stars/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/astro/stars/Makefile b/astro/stars/Makefile index bbf386d9e3c1..69d236d10e81 100644 --- a/astro/stars/Makefile +++ b/astro/stars/Makefile @@ -17,10 +17,13 @@ MAINTAINER= jseger@FreeBSD.org USE_X_PREFIX= yes WRKSRC= $(WRKDIR)/$(PKGNAME) +CC?= cc +CFLAGS?= -O2 + do-build: - cc -I$(PREFIX)/include -O2 -c $(WRKSRC)/xwin.c -o $(WRKSRC)/xwin.o - cc -I$(PREFIX)/include -O2 -c $(WRKSRC)/main.c -o $(WRKSRC)/main.o - cc $(WRKSRC)/main.o $(WRKSRC)/xwin.o -L$(PREFIX)/lib -lX11 -lm -o $(WRKSRC)/stars + $(CC) -I$(PREFIX)/include $(CFLAGS) -c $(WRKSRC)/xwin.c -o $(WRKSRC)/xwin.o + $(CC) -I$(PREFIX)/include $(CFLAGS) -c $(WRKSRC)/main.c -o $(WRKSRC)/main.o + $(CC) $(WRKSRC)/main.o $(WRKSRC)/xwin.o -L$(PREFIX)/lib -lX11 -lm -o $(WRKSRC)/stars do-install: $(INSTALL_PROGRAM) $(WRKSRC)/stars $(PREFIX)/bin/stars |