Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharpe committed Jan 6, 2022
1 parent 869363e commit 013659a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions examples/configure_modify_input_source/simple_lib/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
simple: ./src/simple.c
$(CC) $(CPPFLAGS) $(LDFLAGS) -o simple.a -c ./src/simple.c -I./include -I.
install:
mkdir -p simple
simple: simple.a

simple.a: ./src/simple.c
$(CC) $(CPPFLAGS) $(LDFLAGS) -o simple.o -c ./src/simple.c -I./include -I.
ar rcs simple.a simple.o

install: simple.a
mkdir -p simple
mkdir -p simple/lib
cp simple.a ./simple/lib/simple.a
cp -r ./include ./simple
cp -r ./include ./simple

0 comments on commit 013659a

Please sign in to comment.