Skip to content

Commit

Permalink
Fix Makefile for cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed May 12, 2016
1 parent 2f96c2c commit 094cf7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@

CC ?= gcc

TESTS=test_new test_cond_wait test_cond_wait_simple test_printf

all: jack_interposer.so

jack_interposer.so: jack_interposer.c checkers.c manual.c
gcc -Wall -fPIC -o jack_interposer.so -shared jack_interposer.c -pthread -ldl -ljack
$(CC) $< $(CFLAGS) -Wall -fPIC $(LDFLAGS) -shared -pthread -ldl -ljack -o jack_interposer.so

checkers.c: functions checker_fragment.c
./generate_checkers.pl < functions
Expand Down

0 comments on commit 094cf7d

Please sign in to comment.