Skip to content

Commit

Permalink
fix(Makefile): build target
Browse files Browse the repository at this point in the history
we were not creating a shared library :(
  • Loading branch information
teto committed Jan 6, 2023
1 parent 851cafc commit a820db4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build:
$(CC) -fPIC -c src/parser.c -o parser/http.so $(CFLAGS)
$(CC) -fPIC -c src/parser.c -o parser.o $(CFLAGS)
$(CC) -shared -o parser/http.so *.o

0 comments on commit a820db4

Please sign in to comment.