New source file
This commit is contained in:
parent
16ec119f8d
commit
f22c3ecf98
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/libs/glad/glad.o
|
/libs/glad/glad.o
|
||||||
/opengl
|
/opengl
|
||||||
|
/game/main
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
P=tenchu
|
P=main
|
||||||
OBJECTS=-l:libcglm.so
|
OBJECTS=libs/glad/glad.o
|
||||||
CFLAGS=-g -Wall -Wextra -O0
|
CFLAGS=-g -Wall -Wextra -O0
|
||||||
LDLIBS=-lglfw -lOpenGL -lm
|
LDLIBS=-lglfw -lOpenGL -lm
|
||||||
INCLUDES=-Ilibs/glad/include/ -Ilibs/
|
INCLUDES=-Ilibs/glad/include/ -Ilibs/
|
||||||
@ -8,7 +8,7 @@ RM=rm -vf
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: clean
|
build: clean
|
||||||
$(CC) $(CFLAGS) $(LDLIBS) $(INCLUDES) libs/glad/glad.o tenchu.c -o $(P)
|
$(CC) $(CFLAGS) $(LDLIBS) $(INCLUDES) $(OBJECTS) $(P).c -o $(P)
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
run: build
|
run: build
|
||||||
|
13
game/tools/texturepacker.c
Normal file
13
game/tools/texturepacker.c
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#define STB_IMAGE_IMPLEMENTATION
|
||||||
|
#include "stb_image.h"
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user