Skip to content

Commit 01f3f21

Browse files
committed
Another go with Makefile.
1 parent 34265c6 commit 01f3f21

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

langs/outlaw/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ifeq ($(UNAME), Darwin)
1111
libs='-lunistring'
1212
else
1313
format=elf64
14-
libs='-l:libunistring.a'
14+
libs='-L/usr/lib/x86_64-linux-gnu -l:libunistring.a'
1515
endif
1616

1717
objs = \
@@ -27,7 +27,7 @@ objs = \
2727
default: runtime.o
2828

2929
runtime.o: $(objs)
30-
gcc -r $(objs) $(libs) -o runtime.o
30+
ld -r $(objs) $(libs) -o runtime.o
3131

3232
%.run: %.o runtime.o
3333
gcc runtime.o $< -o $@

0 commit comments

Comments
 (0)