projects
/
summerhack
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first attempt to build on the octane, nosound for now
[summerhack]
/
libs
/
ogg
/
Makefile
1
sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/')
2
ifeq ($(sys), mingw)
3
obj = bitwise.w32.o framing.w32.o
4
liba = ../w32/libogg.a
5
else
6
obj = bitwise.o framing.o
7
liba = ../libogg.a
8
endif
9
10
CFLAGS = -O3 -I..
11
12
$(liba): $(obj)
13
$(AR) rcs $@ $(obj)
14
15
%.w32.o: %.c
16
$(CC) -o $@ $(CFLAGS) -c $<
17
18
.PHONY: clean
19
clean:
20
rm -f $(obj) $(liba)