summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c7aa8fd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+.POSIX:
+
+CONFIGFILE = config.mk
+include $(CONFIGFILE)
+
+
+BIN =\
+ bff-premultiply\
+ bff-unpremultiply
+
+
+HDR =\
+ arg.h\
+ common.h
+
+all: $(BIN)
+
+$(BIN:=.o): $(HDR)
+common.o: $(HDR)
+$(BIN): common.o
+
+clean:
+ -rm -- *.o $(BIN)
+
+.PHONY: all clean
+.PRECIOUS: common.o