We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e0579 commit f5e3adfCopy full SHA for f5e3adf
examples/threads/Makefile
@@ -0,0 +1,9 @@
1
+# copy this into the codegen/exe/user folder on the target machine
2
+# then run it, it will build the binary in this folder
3
+vpath %c ../../../stl
4
+OBJ = thread1.o thread2.o thread3.o user.o user_initialize.o user_terminate.o main.o stl.o
5
+CFLAGS += -I . -I ../../../stl
6
+LIBS = -ldl -lpthread -lrt
7
+
8
+user: $(OBJ)
9
+ $(CC) -o main -fPIC $(OBJ) $(LIBS)
0 commit comments