Grog-Knight

some game in C++
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/Grog-Knight

commit 19df8b86c76411fda44d4a709e6513a9d47a5503
parent 28489ecda27aacc0c8ac401e9e9946a218c99a70
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Tue, 10 Feb 2015 16:53:46 +0100

Add(Makefile): Add a makefile, .gitignore FTW

Diffstat:
AAngel/Libraries/glfw-3.0.3/Makefile | 39+++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+), 0 deletions(-)

diff --git a/Angel/Libraries/glfw-3.0.3/Makefile b/Angel/Libraries/glfw-3.0.3/Makefile @@ -0,0 +1,39 @@ +CC = cc +CFLAGS = -D_GLFW_USE_CONFIG_H -Wall +AR = ar rcu +RANLIB = ranlib +TARGET = src/libglfw3.a + +SRCS = \ + src/clipboard.c \ + src/context.c \ + src/gamma.c \ + src/init.c \ + src/input.c \ + src/joystick.c \ + src/monitor.c \ + src/time.c \ + src/window.c \ + src/x11_clipboard.c \ + src/x11_gamma.c \ + src/x11_init.c \ + src/x11_joystick.c \ + src/x11_monitor.c \ + src/x11_time.c \ + src/x11_window.c \ + src/x11_unicode.c \ + src/glx_context.c + +all: $(TARGET) + +OBJS = $(patsubst %.c,%.o,$(SRCS)) + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $^ + +$(TARGET): $(OBJS) + $(AR) $@ $(OBJS) + $(RANLIB) $@ + +clean: + rm -f $(OBJS) $(TARGET)