Skip to content

Commit

Permalink
Checking the version string was a bad idea
Browse files Browse the repository at this point in the history
  • Loading branch information
thjaeger committed Nov 7, 2008
1 parent f2aa921 commit 786a1dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ MENU = easystroke.desktop
MANPAGE = easystroke.1

CCFILES = $(wildcard *.cc)
OFILES = $(patsubst %.cc,%.o,$(CCFILES)) gui.o ver.o
OFILES = $(patsubst %.cc,%.o,$(CCFILES)) gui.o version.o
DEPFILES = $(wildcard *.Po)
GENFILES = gui.gb gui.c dbus-server.h

Expand Down Expand Up @@ -59,8 +59,7 @@ stroke.o: stroke.cc
%.o: %.cc
$(CXX) $(CXXFLAGS) $(OFLAGS) -MT $@ -MMD -MP -MF $*.Po -o $@ -c $<

ver.o: $(GIT)
echo $(VERSION) | grep "^$(shell test -e version && cat version)" > /dev/null
version.o: $(GIT)
echo 'const char *version_string = "$(VERSION)";' | $(CXX) -o $@ -c -xc++ -

gui.gb: gui.glade
Expand Down

0 comments on commit 786a1dc

Please sign in to comment.