diff --git a/README.txt b/README.txt index dab9672..063cac2 100644 --- a/README.txt +++ b/README.txt @@ -40,7 +40,7 @@ All commands show usage when run without any arguments, but here is the general ,,,,,,,,,,,,,,,, Build Instructions ` ` ` ` ` ` ` ` -If the binaries were not available with this package, you can build them yourself on Linux, OS X, or Windows (potentially others, but only tested with these three). +If the binaries were not available with this package, you can build them yourself on Linux, OS X, or Windows (potentially others, but only tested with these three). If this package is missing the source code, it should be available at http://kettek.exoss.net For the basic "main", you just need a GCC build environment, including make. Works fine with mingw32. If you build using Visual Studio or otherwise, I'd be interested in incorporating the needed build scripts into the official releases. diff --git a/tools/Makefile b/tools/Makefile index 9742ec8..ce66154 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -12,11 +12,12 @@ else LFLAGS += -lm endif -$(BINARY): $(OBJS) - $(CC) $(OBJS) $(LFLAGS) -o $(BINARY) +../bin/$(BINARY): $(OBJS) + mkdir -p ../bin + $(CC) $(OBJS) $(LFLAGS) -o ../bin/$(BINARY) clean: - rm -f $(BINARY) $(OBJS) + rm -f ../bin/$(BINARY) $(OBJS) tobmp.o: tobmp.c ../src/ktkMap.c ../src/ktkMap.h ../src/ktk_parse.h $(CC) $(CFLAGS) tobmp.c