X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=assman;a=blobdiff_plain;f=examples%2Fasscat%2FMakefile;h=01bdce2ce52977e6127ff84e1aea478be74ae43f;hp=6a41b753b6b53609a6a03adce48c62410c80d158;hb=326501355589766ea6f9097824b1850d0beae414;hpb=782e5db5669270f2b3046aafc2e909ac3e749393 diff --git a/examples/asscat/Makefile b/examples/asscat/Makefile index 6a41b75..01bdce2 100644 --- a/examples/asscat/Makefile +++ b/examples/asscat/Makefile @@ -1,11 +1,12 @@ obj = asscat.o bin = asscat root = ../.. +lib_so = $(root)/libassman.so.0.1 CFLAGS = -pedantic -Wall -g -I$(root)/src -LDFLAGS = -L$(root) -Wl,-rpath=$(root) -lassman +LDFLAGS = -L$(root) -Wl,-rpath,$(root) -lassman -$(bin): $(obj) +$(bin): $(obj) $(lib_so) $(CC) -o $@ $(obj) $(LDFLAGS) .PHONY: clean