Use version.h on osx and more files in .gitignore.

This commit is contained in:
John C. Vernaleo 2012-12-21 14:19:09 -05:00
parent 19f78726c1
commit c7949f70c9
2 changed files with 9 additions and 2 deletions

8
.gitignore vendored
View file

@ -13,4 +13,10 @@ osx/spectrwm.c
osx/tree.h
osx/swm_hack.c
osx/swm_hack.so
osx/libswmhack.so.0.0
osx/libswmhack.so.*
osx/version.h
linux/spectrwm.c
linux/swm_hack.c
linux/swm_hack.so
linux/libswmhack.so.*
linux/version.h

View file

@ -18,6 +18,7 @@ all: spectrwm libswmhack.so.$(LVERS)
spectrwm.c:
ln -sf ../linux/tree.h
ln -sf ../spectrwm.c
ln -sf ../version.h
swm_hack.c:
ln -sf ../lib/swm_hack.c
@ -47,6 +48,6 @@ install: all
ln -sf $(DESTDIR)$(BINDIR)/spectrwm $(DESTDIR)$(BINDIR)/scrotwm
clean:
rm -f spectrwm *.o *.so libswmhack.so.* spectrwm.c swm_hack.c tree.h
rm -f spectrwm *.o *.so libswmhack.so.* spectrwm.c swm_hack.c tree.h version.h
.PHONY: all install clean