add bin directory to repo

This commit is contained in:
Sebastian Krzyszkowiak 2012-02-19 21:27:26 +01:00
parent b19476aa44
commit d70792b078
3 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
*~
allegro.log
bin
others

View file

@ -9,13 +9,15 @@ LIBS=-lallegro -lallegro_audio-debug -lallegro_acodec-debug -lallegro_image-debu
_OBJ = main.o about.o intro.o loading.o map.o menu.o
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
OUTPUTDIR = bin
$(ODIR)/%.o: $(SRCDIR)/%.c
$(CC) -c -o $@ $< $(CFLAGS)
bin/superderpy: $(OBJ)
$(OUTPUTDIR)/superderpy: $(OBJ)
gcc -o $@ $^ $(CFLAGS) $(LIBS)
.PHONY: clean
clean:
rm -f $(ODIR)/*.o *~ allegro.log $(SRCDIR)/*~
rm -f $(ODIR)/*.o *~ allegro.log $(SRCDIR)/*~ $(OUTPUTDIR)/*

1
bin/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.o