Implement CMake to optimize cross-compilation support #1

Merged
JackCarterSmith merged 5 commits from cmake-dev into master 2020-09-09 01:52:25 +02:00
Showing only changes of commit 62194ead52 - Show all commits

View File

@ -3,7 +3,7 @@ CC=gcc
CFLAGS= -Wall -O3 CFLAGS= -Wall -O3
LDFLAGS= -lz -lpng LDFLAGS= -lz -lpng
TARGET=RogueDE-texture TARGET=RSE-Texture
VERSION=1.0a VERSION=1.0a
SRC_DIR=src SRC_DIR=src
SRC= $(wildcard $(SRC_DIR)/*.c) SRC= $(wildcard $(SRC_DIR)/*.c)
@ -30,4 +30,4 @@ $(TARGET): $(OBJS)
clean: clean:
@rm -rf $(BUILD_DIR) @rm -rf $(BUILD_DIR)
@rm -f RogueDE-* @rm -f RSE-*