jasper 045aa9fdfd import gimgtools-0.02
gimgtools is a set of command-line tools to examine and manipulate
Garmin IMG (the map format) files. The included tools are:

* gimgunlock: Unlock a locked map so that it can be used on ALL devices.
* gimgxor: Unscramble XOR'd map files.
* gimginfo: Print information of the map.
* gimgextract: Extract the IMG sections.
* gimgch: Hexdump and compare section header of two or more IMGs.

ok sebastia@
2013-05-13 06:57:01 +00:00

12 lines
426 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2013/05/13 06:57:01 jasper Exp $
--- Makefile.orig Sun Mar 10 22:07:34 2013
+++ Makefile Sun Mar 10 22:14:58 2013
@@ -1,5 +1,5 @@
-CC = gcc
-CFLAGS = -Wall -D_FILE_OFFSET_BITS=64
+CC ?= gcc
+CFLAGS = -Wall -D_FILE_OFFSET_BITS=64 ${ECFLAGS}
GIMGLIB_SOURCES = gimglib.c util.c sf_typ.c sf_mps.c sf_tre.c sf_rgn.c sf_lbl.c sf_net.c sf_nod.c sf_gmp.c
GIMGLIB_OBJS = $(GIMGLIB_SOURCES:.c=.o)