History

build sox executable

Sigrid Solveig Haflínudóttir committed 3 years ago

Commit e2d5e5b1 parent e85a7b01 file · +24 −0Browse files

Unified · Split

mkfile+24−0
@@ -0,0 +1,24 @@
1+</$objtype/mkfile
2+
3+TARG=sox
4+BIN=/$objtype/bin/audio
5+CFLAGS=$CFLAGS -p -D__plan9__ -I/sys/include/npe -Isrc
6+LIB=src/libsox.a$O
7+
8+OFILES=\
9+ src/sox.$O\
10+
11+HFILES=\
12+ src/sox.h\
13+
14+</sys/src/cmd/mkone
15+
16+%.$O: %.c
17+ $CC $CFLAGS -o $target $stem.c
18+
19+$LIB:
20+ cd src && mk
21+
22+clean:V:
23+ rm -f [$OS].out $TARG
24+ cd src && mk clean

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t