summaryrefslogtreecommitdiff
path: root/Makefile
blob: 88ed301c517104c3dc0105f3d52ff89777ae17b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: sfarkxtc

INSTALL?=install

# Seems to be needed as clang doesn't appear to add this by default on
# OSX. Let me know if you know a better way.
LDFLAGS=-L/usr/local/lib

LDLIBS=-lsfark -lz

clean: 
	-rm sfarkxtc 2>/dev/null || true

install: sfarkxtc
	$(INSTALL) -D sfarkxtc $(DESTDIR)/usr/local/bin/sfarkxtc