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
|
||||
/opengl
|
||||
/game/main
|
||||
|
@ -1,5 +1,5 @@
|
||||
P=tenchu
|
||||
OBJECTS=-l:libcglm.so
|
||||
P=main
|
||||
OBJECTS=libs/glad/glad.o
|
||||
CFLAGS=-g -Wall -Wextra -O0
|
||||
LDLIBS=-lglfw -lOpenGL -lm
|
||||
INCLUDES=-Ilibs/glad/include/ -Ilibs/
|
||||
@ -8,7 +8,7 @@ RM=rm -vf
|
||||
|
||||
.PHONY: build
|
||||
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
|
||||
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