Files » graphlcd-base-0.1.5_LDFLAGS.diff
graphlcd-base-0.1.5/glcddrivers/Makefile 2008-06-15 14:15:29.000000000 +0200 | ||
---|---|---|
### Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = g++ -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
### Targets:
|
||
all: $(LIBNAME)
|
||
$(LIBNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -ldl -lpthread -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -ldl -lpthread -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
|
||
ln -sf $(LIBNAME) $(BASENAME)
|
||
install: all
|
||
install -d $(LIBDIR)
|
||
install -m 755 $(LIBNAME) $(LIBDIR)/
|
graphlcd-base-0.1.5/glcdgraphics/Makefile 2008-06-15 14:16:07.000000000 +0200 | ||
---|---|---|
HEADERS = bitmap.h font.h glcd.h image.h imagefile.h pbm.h
|
||
### Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = g++ -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
endif### Targets:
|
||
all: $(LIBNAME)
|
||
$(LIBNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@
|
||
ln -sf $(LIBNAME) $(BASENAME)
|
||
install: all
|
||
install -d $(LIBDIR)
|
||
install -m 755 $(LIBNAME) $(LIBDIR)/
|
graphlcd-base-0.1.5/tools/convpic/Makefile 2008-06-15 14:16:32.000000000 +0200 | ||
---|---|---|
.PHONY: all
|
||
# Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = $(CXX) -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
-include $(DEPFILE)
|
||
# The main program:
|
||
$(PRGNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
|
||
install: $(PRGNAME)
|
||
install -d $(BINDIR)
|
||
install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
|
||
graphlcd-base-0.1.5/tools/crtfont/Makefile 2008-06-15 14:18:28.000000000 +0200 | ||
---|---|---|
.PHONY: all
|
||
# Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = $(CXX) -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
endif### Targets:
|
||
# The main program:
|
||
$(PRGNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBDIRS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
|
||
install: $(PRGNAME)
|
||
install -d $(BINDIR)
|
||
install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
|
||
graphlcd-base-0.1.5/tools/genfont/Makefile 2008-06-15 14:18:46.000000000 +0200 | ||
---|---|---|
.PHONY: all
|
||
# Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = $(CXX) -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
-include $(DEPFILE)
|
||
# The main program:
|
||
$(PRGNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBDIRS) $(LIBS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBDIRS) $(LIBS) -lglcdgraphics -lstdc++ -o $(PRGNAME)
|
||
install: $(PRGNAME)
|
||
install -d $(BINDIR)
|
||
install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
|
||
|
graphlcd-base-0.1.5/tools/lcdtestpattern/Makefile 2008-06-15 14:19:08.000000000 +0200 | ||
---|---|---|
.PHONY: all
|
||
# Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = $(CXX) -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
endif### Targets:
|
||
# The main program:
|
||
$(PRGNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
|
||
install: $(PRGNAME)
|
||
install -d $(BINDIR)
|
||
install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
|
||
graphlcd-base-0.1.5/tools/showpic/Makefile 2008-06-15 14:19:29.000000000 +0200 | ||
---|---|---|
.PHONY: all
|
||
# Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = $(CXX) -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
endif### Targets:
|
||
# The main program:
|
||
$(PRGNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
|
||
install: $(PRGNAME)
|
||
install -d $(BINDIR)
|
||
install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
|
||
graphlcd-base-0.1.5/tools/showtext/Makefile 2008-06-15 14:23:52.000000000 +0200 | ||
---|---|---|
.PHONY: all
|
||
# Implicit rules:
|
||
%.o: %.c
|
||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||
# Dependencies:
|
||
MAKEDEP = $(CXX) -MM -MG
|
||
DEPFILE = .dependencies
|
||
... | ... | |
endif### Targets:
|
||
# The main program:
|
||
$(PRGNAME): $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME)
|
||
install: $(PRGNAME)
|
||
install -d $(BINDIR)
|
||
install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
|
||