Skip to content

Commit

Permalink
Fix symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
kamahen authored and JanWielemaker committed Jul 12, 2024
1 parent 878feb1 commit f0c1978
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ CC=$(SWIPL_CC)
all: $(SOBJ)

c/libhdt.a: $(HDTLIB)/libhdt.a
ln -f $< $@
ln -f -s $$PWD/$< $@

c/libcds.a: $(CDSLIB)/libcds.a
ln -f $< $@
ln -f -s $$PWD/$< $@

$(SOBJ): $(OBJ) $(OBJ2)
mkdir -p $(SWIPL_MODULE_DIR)
Expand All @@ -42,7 +42,8 @@ c/hdt4pl.o: c/hdt4pl.cpp $(HDTLIB)/libhdt.a $(CDSLIB)/libcds.a
$(CC) $(ARCH) $(CFLAGS) -c -o $@ c/hdt4pl.cpp

$(HDTLIB)/libhdt.a $(HDTLIB)/libcds.a: FORCE
$(MAKE) -C $(HDTHOME) $(MAKE_J)
@# Assumes that ./configure has been run
set -x -e && $(MAKE) -C $(HDTHOME) $(MAKE_J)

FORCE:

Expand Down

0 comments on commit f0c1978

Please sign in to comment.