oobs
This commit is contained in:
parent
90b48d18eb
commit
a3d95d57bd
6
Makefile
6
Makefile
|
@ -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:
|
||||||
|
|
Reference in New Issue
Block a user