Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f5e3adf

Browse filesBrowse files
committed
Makefile to build threads example on a Linux deployment
see the comments at top of Makefile TODO ideally should be recursive make from the top level...
1 parent 60e0579 commit f5e3adf
Copy full SHA for f5e3adf

File tree

1 file changed

+9
-0
lines changed
Filter options

1 file changed

+9
-0
lines changed

‎examples/threads/Makefile

Copy file name to clipboard
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.