Modified README for binary release. tobmp now builds binary in bin/ rather than tools/
parent
e48dd3e6c0
commit
bf118d0ed2
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue