mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
add bin directory to repo
This commit is contained in:
parent
b19476aa44
commit
d70792b078
3 changed files with 5 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
*~
|
||||
allegro.log
|
||||
bin
|
||||
others
|
||||
|
|
6
Makefile
6
Makefile
|
@ -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
1
bin/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.o
|
Loading…
Reference in a new issue