blob: 402e9e4bf5270732bb155bc87748888fba071928 (
plain) (
tree)
|
|
CC=g++
CFLAGS=-g -ggdb -O0 -Wall -c `pkg-config --cflags libxml-2.0`
LDFLAGS=`pkg-config --libs libxml-2.0`
SOURCES=base64.cpp main.cpp map.cpp xmlutils.cpp zlibutils.cpp
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=tmxcopy
all: $(SOURCES) $(EXECUTABLE)
make clean
$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
.cpp.o:
$(CC) $(CFLAGS) $< -o $@
clean:
rm -f *.o
|