ghettoss: Makefile produces .gitignore now
authorHarvie <tomas@mudrunka.cz>
Mon, 1 Nov 2010 13:54:07 +0000 (14:54 +0100)
committerHarvie <tomas@mudrunka.cz>
Mon, 1 Nov 2010 13:54:07 +0000 (14:54 +0100)
c/ghetto-sound-system/Makefile

index 71622c2a5d80422bd00c2dc2cf4d5ffad414901c..6e1cac871bce81329d1cba991873cb91ed8b1965 100644 (file)
@@ -8,12 +8,12 @@ alsa_CFLAGS+=-lasound
 
 .PHONY: all clean sdl alsa go
 all: sdl alsa
+       echo .gitignore $(sdl_BIN) $(alsa_BIN) | tr ' ' '\n' > .gitignore
 clean:
-       rm $(sdl_BIN) $(alsa_BIN)
+       rm .gitignore $(sdl_BIN) $(alsa_BIN)
 
 sdl:
        $(MAKE) CFLAGS+="$(sdl_CFLAGS)" $(sdl_BIN)
-
 alsa:
        $(MAKE) CFLAGS="$(alsa_CFLAGS)" $(alsa_BIN)
 
This page took 0.156638 seconds and 4 git commands to generate.