diff options
| author | Andreas Regel <andreas.regel@gmx.de> | 2015-04-26 09:27:25 +0200 |
|---|---|---|
| committer | Andreas Regel <andreas.regel@gmx.de> | 2016-04-01 23:47:51 +0200 |
| commit | d4622366d9886fcb62a74507af362dbe73573bcc (patch) | |
| tree | b9145559f0c6e8a7f05e3d7b05ffca4ffa538ec0 /tools/skintest/Makefile | |
| parent | 110dc03d98ecbb873d399c75e221a8b0e27f060a (diff) | |
| download | graphlcd-base-d4622366d9886fcb62a74507af362dbe73573bcc.tar.gz graphlcd-base-d4622366d9886fcb62a74507af362dbe73573bcc.tar.bz2 | |
Add skintest tool.
Diffstat (limited to 'tools/skintest/Makefile')
| -rw-r--r-- | tools/skintest/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/skintest/Makefile b/tools/skintest/Makefile new file mode 100644 index 0000000..fe73388 --- /dev/null +++ b/tools/skintest/Makefile @@ -0,0 +1,42 @@ +# +# Makefile for the GraphLCD tool showtext +# + +-include ../../Make.config + +PRGNAME = skintest + +OBJS = skintest.o + +INCLUDES += -I../../ +LIBDIRS += -L../../glcdgraphics/ -L../../glcddrivers/ -L../../glcdskin/ + + +all: $(PRGNAME) +.PHONY: all + +# Implicit rules: + +%.o: %.c + $(CXX) $(CXXEXTRA) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + +# Dependencies: + +DEPFILE = $(OBJS:%.o=%.d) + +-include $(DEPFILE) + +# The main program: + +$(PRGNAME): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lglcdskin -lstdc++ -o $(PRGNAME) + +install: $(PRGNAME) + install -d $(BINDIR) + install -m 755 -o root -g root $(HAVE_STRIP) $(PRGNAME) $(BINDIR) + +uninstall: + rm -f $(BINDIR)/$(PRGNAME) + +clean: + @-rm -f $(OBJS) $(DEPFILE) $(PRGNAME) *~ |
