Modified README for binary release. tobmp now builds binary in bin/ rather than tools/

master
kts 2014-11-21 16:00:22 -08:00
parent e48dd3e6c0
commit bf118d0ed2
2 changed files with 5 additions and 4 deletions

View File

@ -40,7 +40,7 @@ All commands show usage when run without any arguments, but here is the general
,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,
Build Instructions 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. 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.

View File

@ -12,11 +12,12 @@ else
LFLAGS += -lm LFLAGS += -lm
endif endif
$(BINARY): $(OBJS) ../bin/$(BINARY): $(OBJS)
$(CC) $(OBJS) $(LFLAGS) -o $(BINARY) mkdir -p ../bin
$(CC) $(OBJS) $(LFLAGS) -o ../bin/$(BINARY)
clean: clean:
rm -f $(BINARY) $(OBJS) rm -f ../bin/$(BINARY) $(OBJS)
tobmp.o: tobmp.c ../src/ktkMap.c ../src/ktkMap.h ../src/ktk_parse.h tobmp.o: tobmp.c ../src/ktkMap.c ../src/ktkMap.h ../src/ktk_parse.h
$(CC) $(CFLAGS) tobmp.c $(CC) $(CFLAGS) tobmp.c