initial commit
This commit is contained in:
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2023 Emma Tebibyte
|
||||
# SPDX-License-Identifier: FSFAP
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification, are
|
||||
# permitted in any medium without royalty provided the copyright notice and this
|
||||
# notice are preserved. This file is offered as-is, without any warranty.
|
||||
|
||||
.POSIX:
|
||||
|
||||
PREFIX = /usr/local/bin
|
||||
|
||||
build: build_dir searpent.c
|
||||
cc -o build/searpent -l curl searpent.c
|
||||
|
||||
build_dir:
|
||||
mkdir -p build
|
||||
|
||||
install: build
|
||||
mkdir -p $(PREFIX)
|
||||
cp -f build/searpent $(PREFIX)/
|
||||
Reference in New Issue
Block a user