blob: 794316d2489907ae723a83cc89e6a518cc5d59e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- a/Makefile
+++ b/Makefile
@@ -2,16 +2,12 @@
# $Id: Makefile,v 1.4 2007/04/04 00:00:00 root Exp $
#
-CFLAGS = -Wall -O3 -fomit-frame-pointer -funroll-loops \
- -fforce-addr -falign-functions=4 -msse
+CFLAGS += -Wall
TTAENC = ttaenc
INSDIR = /usr/bin
ttaenc: $(patsubst %.c, %.o, $(wildcard *.c))
- gcc $^ -o $@ $(CFLAGS)
-
-%.o: %.c
- gcc -c $(CFLAGS) $<
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
install:
[ -d "$(INSDIR)" ] || mkdir $(INSDIR)
|