diff options
Diffstat (limited to 'jni/iodine/src/Makefile')
-rw-r--r-- | jni/iodine/src/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jni/iodine/src/Makefile b/jni/iodine/src/Makefile index a5b9838..80bd345 100644 --- a/jni/iodine/src/Makefile +++ b/jni/iodine/src/Makefile @@ -9,7 +9,7 @@ ARCH = `uname -m` LIBPATH = -L. LDFLAGS += -lz `sh osflags $(TARGETOS) link` $(LIBPATH) -CFLAGS += -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` +CFLAGS += -std=c99 -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` all: stateos $(CLIENT) $(SERVER) @@ -26,7 +26,7 @@ $(SERVER): $(COMMONOBJS) $(SERVEROBJS) @mkdir -p ../bin @$(CC) $(COMMONOBJS) $(SERVEROBJS) -o $(SERVER) $(LDFLAGS) -.c.o: +.c.o: @echo CC $< @$(CC) $(CFLAGS) $< -o $@ @@ -43,4 +43,5 @@ base64u.h: base64.h clean: @echo "Cleaning src/" @rm -f $(CLIENT){,.exe} $(SERVER){,.exe} *~ *.o *.core base64u.* + @rm -rf obj libs #android stuff |