Compare commits

..

No commits in common. "54204542c14305a28b5b0f7d4303a685565126ac" and "9282b15528fe93be763d46a02dbe255968c548d5" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

@ -8,9 +8,9 @@ CORE_SOURCES := \
# Compiler and flags
CORE_CC = gcc
CORE_CFLAGS = -Wall -Wextra -std=c17 -fPIC -g
CORE_CFLAGS = $(sdl2-config --cflags --libs) -Wall -Wextra -std=c17 -fPIC -g
CORE_INCLUDE_DIRS = $(CORE_DIR)/headers
CORE_LDFLAGS = $(shell sdl2-config --cflags --libs)
CORE_LDFLAGS =
# Deduce objects
CORE_OBJECTS = $(CORE_SOURCES:%.c=$(BUILD_DIR)/$(CORE_DIR)/%.o)
@ -33,7 +33,7 @@ count_core_build:
# Link core target
$(BUILD_DIR)/libCore.so: $(CORE_OBJECTS)
@echo -e "[100%] $(YELLOW)Linking libCore.so$(RESET)"
$(Q)$(CORE_CC) -shared $(CORE_OBJECTS) -o $@ $(CORE_LDFLAGS)
$(Q)$(CORE_CC) -shared $(CORE_LDFLAGS) -o $@ $(CORE_OBJECTS)
# Build .o files
$(BUILD_DIR)/$(CORE_DIR)/%.o: $(CORE_DIR)/%.c

View File

@ -23,10 +23,6 @@ inline void destroy_texture(texture_t *texture)
inline void draw_texture(const texture_t *texture, const rect_t *src_rect, const rect_t *dst_rect, bool flip)
{
(void)texture;
(void)src_rect;
(void)dst_rect;
(void)flip;
//display_subimage(texture->image, src_rect, dst_rect, flip);
}