Archived
1
0
This commit is contained in:
Marrub 2015-06-11 10:42:06 -04:00
parent 90b48d18eb
commit a3d95d57bd

View File

@ -31,9 +31,9 @@ else
CC+=mingw32-gcc CC+=mingw32-gcc
LD+=mingw32-gcc LD+=mingw32-gcc
PLFLAGS+=-shared -g -ggdb PLFLAGS+=-shared -g -ggdb
PLFLAGS2+=-Wl,--out-implib,bin/libLoveToken.a -liconv PLFLAGS2+=-Wl,--out-implib,$(OUTDIR)/libLoveToken.a -liconv
LIBNAME+=$(OUTDIR)/LoveToken.dll LIBNAME+=$(OUTDIR)/LoveToken.dll
RMEXTRA+=bin/libLoveToken.a RMEXTRA+=$(OUTDIR)/libLoveToken.a
else else
ifeq ($(shell uname -s), Linux) ifeq ($(shell uname -s), Linux)
CC+=gcc CC+=gcc
@ -49,7 +49,7 @@ all: $(OUTDIR)
$(CC) $(CFLAGS) $(PCFLAGS) -o $(OUTDIR)/lt.o $(SRCDIR)/lt.c $(CC) $(CFLAGS) $(PCFLAGS) -o $(OUTDIR)/lt.o $(SRCDIR)/lt.c
$(LD) $(LFLAGS) $(PLFLAGS) -o $(LIBNAME) $(OUTDIR)/lt.o $(PLFLAGS2) $(LD) $(LFLAGS) $(PLFLAGS) -o $(LIBNAME) $(OUTDIR)/lt.o $(PLFLAGS2)
bin: $(OUTDIR):
$(MKDIR) $(OUTDIR) $(MKDIR) $(OUTDIR)
clean: clean: