Permalink
Browse files

procket wouldnt compile when it was used as a rebar dependency

  • Loading branch information...
1 parent d3cfbe2 commit 90e209d71f3bd74301f2ec64a056b30fe7d047ad klaar committed Oct 6, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 c_src/Makefile.cmd
View
3 c_src/Makefile.cmd
@@ -1,8 +1,9 @@
CC=gcc
+CMD_PATH= $(dir$(lastword $(MAKEFILE_LIST)))../priv/procket
all: compile
compile:
- $(CC) $(ARCH) -g -Wall -o ../priv/procket -L. procket_cmd.c -lancillary
+ $(CC) $(ARCH) -g -Wall -o $(CMD_PATH) -L. procket_cmd.c -lancillary

0 comments on commit 90e209d

Please sign in to comment.