opening TIC-80 sources

This commit is contained in:
BADIM-PC\Vadim
2017-09-26 09:59:34 +03:00
parent b003d8f56f
commit e502b89a1d
325 changed files with 186092 additions and 11 deletions

23
examples/makefile Normal file
View File

@@ -0,0 +1,23 @@
CC=gcc
OPT=-O3 -Wall -std=c99
INCLUDES= \
-I../include \
-I../include/sdl2 \
-I../include/tic80
LINKER_FLAGS= \
-L../lib/mingw \
-L../bin \
-ltic80 \
-lmingw32 -lSDL2main -lSDL2.dll \
-mwindows
SOURCES=\
sdl-renderer.c
SDL_RENDERER = ../bin/sdl-renderer.exe
all: $(SDL_RENDERER)
$(SDL_RENDERER): $(SOURCES)
$(CC) $(INCLUDES) $< $(OPT) $(LINKER_FLAGS) -o $@