summaryrefslogtreecommitdiff
blob: 0b584086f5363550734775b1ecb48f536a32bf13 (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
@@ -1,17 +1,4 @@
-CC=gcc
-CFLAGS=-O9 -fomit-frame-pointer -Wall
-LD=gcc
-LFLAGS=-s
-
 OBJECTS=main.o decode.o wav.o lsb.o rip.o fmt.o fmt_raw.o fmt_vb2.o fmt_8.o fmt_msa.o fmt_xa2.o
 
-all: vb2rip
-
 vb2rip: $(OBJECTS)
-	$(LD) $(LFLAGS) $(OBJECTS) -o $@
-
-%.o: %.c
-	$(CC) $(CFLAGS) -c $<
-
-clean:
-	del *.o
+	$(CC) $(LDFLAGS) $(OBJECTS) $(LOADLIBES) $(LDLIBS) -o vb2rip