chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Perly full service thing, before simple thing.
[chiark-tcl.git]
/
base
/
troglodyte-Makefile
1
OBJS= hbytes.o \
2
enum.o
3
4
HDRS= hbytes.h
5
6
TARGETS= hbytes.so
7
8
CFLAGS= -g -Wall -O
9
10
all: $(TARGETS)
11
12
hbytes.so: $(OBJS)
13
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS)
14
15
%.o: %.c $(HDRS)
16
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
17
18
clean:
19
rm -f $(OBJS) $(TARGETS) *~ ./#*#