mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
a6e0785b84
The previous Makefile only worked on OS X. The dynamically generated Makefile (from `Makefile.in`) should now work on multiple platforms (tested on OS X and Ubuntu).
25 lines
576 B
Makefile
25 lines
576 B
Makefile
CC = @CC@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
LOCAL_CFLAGS = @LOCAL_CFLAGS@
|
|
DEFS = @DEFS@
|
|
LOCAL_DEFS = @LOCAL_DEFS@
|
|
|
|
CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(LOCAL_CFLAGS) $(CFLAGS)
|
|
|
|
SHOBJ_CC = @SHOBJ_CC@
|
|
SHOBJ_CFLAGS = @SHOBJ_CFLAGS@
|
|
SHOBJ_LD = @SHOBJ_LD@
|
|
SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@
|
|
SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
|
|
SHOBJ_LIBS = @SHOBJ_LIBS@
|
|
SHOBJ_STATUS = @SHOBJ_STATUS@
|
|
|
|
.c.o:
|
|
$(SHOBJ_CC) $(SHOBJ_CFLAGS) $(CCFLAGS) -c -o $@ $<
|
|
|
|
../libexec/rbenv-realpath.dylib: realpath.o
|
|
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ realpath.o $(SHOBJ_LIBS)
|
|
|
|
clean:
|
|
rm -f *.o ../libexec/*.dylib
|