aboutsummaryrefslogtreecommitdiff
path: root/test/postinstall/testappprojinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/postinstall/testappprojinfo/Makefile')
-rw-r--r--test/postinstall/testappprojinfo/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/postinstall/testappprojinfo/Makefile b/test/postinstall/testappprojinfo/Makefile
new file mode 100644
index 00000000..98c47f28
--- /dev/null
+++ b/test/postinstall/testappprojinfo/Makefile
@@ -0,0 +1,15 @@
+PROGRAM = testappprojinfo
+OBJECTS = $(addsuffix .o,$(PROGRAM))
+
+override CFLAGS += -g -Wall -Werror $(shell pkg-config proj --cflags)
+override LDFLAGS += $(shell pkg-config proj --libs)
+
+all: $(PROGRAM)
+
+$(PROGRAM): $(OBJECTS)
+ $(CC) -o $@ $< $(LDFLAGS)
+
+clean:
+ $(RM) $(PROGRAM) $(OBJECTS)
+
+.PHONY: clean