projects
/
sound-tools
/
hdrec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
makefile improvements
[sound-tools/hdrec.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a27d210
..
353989a
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,14
+3,21
@@
CFLAGS = -O3 -Wall -I/usr/include/directfb
CC = gcc
CFLAGS = -O3 -Wall -I/usr/include/directfb
CC = gcc
-TARGETS = hdrec
+TARGETS = hdrec
make_raw
all: $(TARGETS)
all: $(TARGETS)
-hdrec:
+hdrec:
links
$(CC) $(CFLAGS) -Wall fourier.c oss_api.c hdrec.c -o hdrec -lm -ldirectfb
$(CC) $(CFLAGS) -Wall fourier.c oss_api.c hdrec.c -o hdrec -lm -ldirectfb
+make_raw:
+ $(CC) -O3 -Wall make_raw.c -o make_raw -lm
+
+links:
+ ln -sf ../../api/fourier/fourier.c .
+ ln -sf ../../api/fourier/fourier.h .
+
clean:
clean:
- rm
$(OBJS) hdrec
+ rm
-f $(TARGETS)
remake: clean all
remake: clean all