diff options
Diffstat (limited to 'test/postinstall/testcpp/Makefile')
| -rw-r--r-- | test/postinstall/testcpp/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/postinstall/testcpp/Makefile b/test/postinstall/testcpp/Makefile new file mode 100644 index 00000000..d6c47e65 --- /dev/null +++ b/test/postinstall/testcpp/Makefile @@ -0,0 +1,15 @@ +PROGRAM = testcpp +OBJECTS = $(addsuffix .o,$(PROGRAM)) + +override CXXFLAGS += -std=c++11 -fvisibility=hidden -g -Wall -Werror $(shell pkg-config proj --cflags) +override LDFLAGS += $(shell pkg-config proj --libs) + +all: $(PROGRAM) + +$(PROGRAM): $(OBJECTS) + $(CXX) -o $@ $< $(LDFLAGS) + +clean: + $(RM) $(PROGRAM) $(OBJECTS) + +.PHONY: clean |
