Skip to content

Commit

Permalink
Added pthread
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun Dro committed Jul 24, 2023
1 parent 077b9f1 commit 37d9ebc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

CFLAGS = -g -O2 -Wall -I./src -I./xutils/build
LD_LIBS = ./xutils/build/libxutils.a
LIBS =
LIBS = -lpthread
NAME = smake
ODIR = ./obj
OBJ = o
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ smake -j \
-o ./obj \
-b /usr/bin \
-e './xutils' \
-l './xutils/build/libxutils.a' \
-l '-lpthread' \
-L './xutils/build/libxutils.a' \
-f '-g -O2 -Wall -I./src -I./xutils/build' \
```

Expand All @@ -68,6 +69,7 @@ Config file generated and used by this project.
"name": "smake",
"flags": "-g -O2 -Wall -I./src -I./xutils/build",
"ldLibs": "./xutils/build/libxutils.a",
"libs": "-lpthread",
"outputDir": "./obj",
"overwrite": true,
"cxx": false,
Expand Down
1 change: 1 addition & 0 deletions smake.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"overwrite": true,
"outputDir": "./obj",
"flags": "-g -O2 -Wall -I./src -I./xutils/build",
"libs": "-lpthread",
"ldLibs": "./xutils/build/libxutils.a",
"name": "smake",
"excludes": [
Expand Down
2 changes: 1 addition & 1 deletion src/info.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#define SMAKE_VERSION_MAX 1
#define SMAKE_VERSION_MIN 1
#define SMAKE_BUILD_NUMBER 10
#define SMAKE_BUILD_NUMBER 11

#ifndef _SMAKE_VERSION_H_
#define _SMAKE_VERSION_H_
Expand Down

0 comments on commit 37d9ebc

Please sign in to comment.