Commit b6e5235f authored by Arjan Oortgiese's avatar Arjan Oortgiese

Added support for cross compiling.

parent 92a9b5c9
GCC=gcc -m32 -c
CC=gcc -m32 -c
all: clean unicode
......@@ -8,7 +8,7 @@ clean:
rm -f *.o
bsearch.o:
$(GCC) -c bsearch.c
$(CC) $(CFLAGS) -c bsearch.c
WCsubst.o:
$(GCC) -c WCsubst.c
$(CC) $(CFLAGS) -c WCsubst.c
GCC=gcc -m64 -c
CC=gcc -m64 -c
all: clean unicode
......@@ -8,7 +8,7 @@ clean:
rm -f *.o
bsearch.o:
$(GCC) -c bsearch.c
$(CC) $(CFLAGS) -c bsearch.c
WCsubst.o:
$(GCC) -c WCsubst.c
$(CC) $(CFLAGS) -c WCsubst.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment