42 lines
1.5 KiB
Makefile
42 lines
1.5 KiB
Makefile
# Project: tile_editor
|
|
# Makefile created by Dev-C++ 5.4.2
|
|
|
|
CPP = g++.exe
|
|
CC = gcc.exe
|
|
WINDRES = windres.exe
|
|
OBJ = ../tile_editor/elements.o ../tile_editor/font.o ../tile_editor/main.o ../tile_editor/sdl.o ../data.o
|
|
LINKOBJ = ../tile_editor/elements.o ../tile_editor/font.o ../tile_editor/main.o ../tile_editor/sdl.o ../data.o
|
|
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -static-libstdc++ -static-libgcc -L"../../SDL-1.2.15/lib" -mwindows -lsdl -lSDL_image -lSDLmain -lws2_32 C:/Windows/System32/ws2_32.dll -g3
|
|
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"../../SDL-1.2.15/include"
|
|
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"../../SDL-1.2.15/include"
|
|
BIN = tile_editor.exe
|
|
CXXFLAGS = $(CXXINCS) -g3
|
|
CFLAGS = $(INCS) -g3
|
|
RM = rm -f
|
|
|
|
.PHONY: all all-before all-after clean clean-custom
|
|
|
|
all: all-before $(BIN) all-after
|
|
|
|
|
|
clean: clean-custom
|
|
${RM} $(OBJ) $(BIN)
|
|
|
|
$(BIN): $(OBJ)
|
|
$(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
|
|
|
|
../tile_editor/elements.o: ../tile_editor/elements.c
|
|
$(CC) -c ../tile_editor/elements.c -o ../tile_editor/elements.o $(CFLAGS)
|
|
|
|
../tile_editor/font.o: ../tile_editor/font.c
|
|
$(CC) -c ../tile_editor/font.c -o ../tile_editor/font.o $(CFLAGS)
|
|
|
|
../tile_editor/main.o: ../tile_editor/main.c
|
|
$(CC) -c ../tile_editor/main.c -o ../tile_editor/main.o $(CFLAGS)
|
|
|
|
../tile_editor/sdl.o: ../tile_editor/sdl.c
|
|
$(CC) -c ../tile_editor/sdl.c -o ../tile_editor/sdl.o $(CFLAGS)
|
|
|
|
../data.o: ../data.c
|
|
$(CC) -c ../data.c -o ../data.o $(CFLAGS)
|