summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-01-09 18:58:56 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-01-09 18:58:56 +0000
commit43cf0065f7dbfb13d78e9372acadebf9f5b55eae (patch)
treebbdf6c9bc675e7731c36ad0ba6516915e3f7fb08 /Makefile
downloadalphagen-43cf0065f7dbfb13d78e9372acadebf9f5b55eae.tar.gz
alphagen-43cf0065f7dbfb13d78e9372acadebf9f5b55eae.tar.bz2
Tool for generating alpha channels for ArtWorks bitmap exports.
svn path=/trunk/tools/alphagen/; revision=6009
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c554942
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+# Makefile for building AlphaGen on RISC OS.
+
+# Needs NSTools for libpng and libz.
+# http://www.netsurf-browser.org/downloads/other/nstools.zip
+
+.SUFFIXES: .c .o
+.c.o:
+ gcc -I<NSLibs$$Dir>/include -std=c9x -mpoke-function-name -mthrowback -c -O2 $<
+
+SRC = $(wildcard *.c)
+
+OBJ = $(SRC:.c=.o)
+
+nslog: $(OBJ)
+ gcc -L<NSLibs$$Dir>/lib -lpng -lz -o alphagen $(OBJ)