This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/real/Makefile_so
2015-10-13 08:25:49 +01:00

25 lines
505 B
Plaintext

# skeleton Makefile for cross compiling windows for SWI
# alot of the work is done by a prolog script that
# uses includes and R dlls in my disk space and includes those ala
# buildenv.sh (on the fly)
#
SOBJ= $(PACKSODIR)/real.$(SOEXT)
CFLAGS+=-std=c99
LIBS= -lR
all: $(SOBJ)
$(SOBJ): real.o
mkdir -p $(PACKSODIR)
$(LD) $(ARCH) $(LDSOFLAGS) -o $@ $< $(LIBS) $(SWISOLIB)
real.o:
$(CC) $(ARCH) $(CFLAGS) -c -o real.o real.c
check::
install::
clean:
rm -f real.o
distclean: clean
rm -f $(SOBJ)