Skip to content

Commit

Permalink
Merge pull request snabbco#40 from dpino/lwaftr_nutmeg_makefile
Browse files Browse the repository at this point in the history
Add a Makefile rule to build 'snabb-lwaftr' binary
  • Loading branch information
kbara committed Sep 29, 2015
2 parents 0bf1d62 + 0f03d1a commit 7718145
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ TESTSCRIPTS = $(shell find . -name "selftest.sh" -executable | xargs)

PATH := ../deps/luajit/usr/local/bin:$(PATH)

snabb-lwaftr: snabb
$(E) "LINK $@"
@ln -fs snabb $@

snabb: $(LUAOBJ) $(PFLUAOBJ) $(HOBJ) $(COBJ) $(ARCHOBJ) $(ASMOBJ) $(INCOBJ) $(LUAJIT_A)
$(E) "SUBMODULES"
@if test ! -f ../deps/luajit.vsn || \
Expand Down Expand Up @@ -226,7 +230,7 @@ doc/snabbswitch.epub: doc/snabbswitch.md
$(E) "PANDOC $@"
$(Q) (cd doc; pandoc --self-contained --css="style.css" -S -s --toc --chapters -o snabbswitch.epub snabbswitch.md)

CLEAN = snabb snabbswitch obj bin doc/snabbswitch.* doc/.images/* testlog deps/*.vsn programs.inc
CLEAN = snabb snabbswitch snabb-* obj bin doc/snabbswitch.* doc/.images/* testlog deps/*.vsn programs.inc

clean:
$(E) "RM $(CLEAN)"
Expand Down

0 comments on commit 7718145

Please sign in to comment.