summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Davis <bluesabre@users.noreply.github.com>2019-01-19 21:05:55 -0500
committerGitHub <noreply@github.com>2019-01-19 21:05:55 -0500
commited111ba5feb52bc2a3ae6327d84432399128bf1b (patch)
tree14c1604954a8368eddab755a3edec0d986d4fcd2
parent17f208b2bf118351efda07c0381710575879cf3e (diff)
parent53e1c4b6b1a1376d529019bf8bd1e4e427da9c23 (diff)
downloadelementary-xfce-ed111ba5feb52bc2a3ae6327d84432399128bf1b.tar.gz
Merge pull request #138 from madpilot78/FreeBSD-build-fixes
FreeBSD build fixes
-rwxr-xr-xMakefile.in5
-rw-r--r--svgtopng/Makefile2
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 6f089f12..ec109dc0 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,9 +1,10 @@
PREFIX=@prefix@
DESTDIR=
+CC?=gcc
SUBDIRS := svgtopng
-all: $(SUBDIRS) build
+all: build
$(SUBDIRS):
$(MAKE) -C $@
@@ -29,7 +30,7 @@ icon-caches:
gtk-update-icon-cache -f $(DESTDIR)/$(PREFIX)/share/icons/elementary-xfce-darker
gtk-update-icon-cache -f $(DESTDIR)/$(PREFIX)/share/icons/elementary-xfce-darkest
-build: builddir
+build: builddir $(SUBDIRS)
chmod +x ./svgtopng/pngtheme.sh
@./svgtopng/pngtheme.sh build/elementary-xfce
@./svgtopng/pngtheme.sh build/elementary-xfce-dark
diff --git a/svgtopng/Makefile b/svgtopng/Makefile
index 78521f3d..61a0352a 100644
--- a/svgtopng/Makefile
+++ b/svgtopng/Makefile
@@ -5,7 +5,7 @@ ICONDIR ?= elementary-xfce
all: svgtopng
svgtopng:
- gcc -Wall -Werror -O0 -pipe \
+ ${CC} -Wall -Werror -O0 -pipe \
svgtopng.c -o svgtopng \
`pkg-config --libs --cflags gtk+-3.0` \
`pkg-config --libs --cflags gdk-pixbuf-2.0`