Skip to content

Commit

Permalink
Embed libpacparser in pactester itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
manugarg committed Mar 23, 2022
1 parent c6258eb commit ed2b0f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ $(LIBRARY): pacparser.o libjs.a
$(LIBRARY_LINK): $(LIBRARY)
ln -sf $(LIBRARY) $(LIBRARY_LINK)

pactester: pactester.c pacparser.h $(LIBRARY_LINK)
$(CC) $(CFLAGS) $(LDFLAGS) pactester.c -o pactester -lpacparser -L. -I.
pactester: pactester.c pacparser.h pacparser.o libjs.a
$(CC) $(CFLAGS) $(LDFLAGS) pactester.c pacparser.o libjs.a -o pactester -lm -L. -I.

testpactester: pactester
testpactester: pactester $(LIBRARY_LINK)
echo "Running tests for pactester."
NO_INTERNET=$(NO_INTERNET) ../tests/runtests.sh

Expand Down

0 comments on commit ed2b0f4

Please sign in to comment.