aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-04-01 21:33:45 +0200
committersalaaad2 <arthurdurant263@gmail.com>2022-04-01 21:33:45 +0200
commit516b165421855538e10f41919f1fa72e1fa58912 (patch)
tree81c3f9a6e6af2d84493b87893ed633a470f7cfe0 /Makefile
parent0.0.1.1 (diff)
downloadsmith-516b165421855538e10f41919f1fa72e1fa58912.tar.gz
smith-516b165421855538e10f41919f1fa72e1fa58912.tar.bz2
smith-516b165421855538e10f41919f1fa72e1fa58912.tar.xz
smith-516b165421855538e10f41919f1fa72e1fa58912.tar.zst
smith-516b165421855538e10f41919f1fa72e1fa58912.zip
hehe
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6119205..d7e2482 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,7 @@ C_NAME = libsmith.a
NAME = smith
CC = clang
GO = go
+GO_DIR = gosrc/
#------------------------------------------------------------------------------#
CFLAGS = -O2
CFLAGS += -Wall -Werror -Wextra -pedantic
@@ -68,7 +69,7 @@ ${C_NAME}: ${OBJS_DIR} ${OBJS} ${INCS}
#==============================================================================#
#------------------------------------------------------------------------------#
all: ${C_NAME}
- go build
+ go build -o ./smith gosrc/*
#------------------------------------------------------------------------------#
clean:
rm -rvf ${OBJS_DIR} ${OUT_DIR}${NAME}