summaryrefslogtreecommitdiff
path: root/mzf2wav/src/Makefile
blob: e744eb1558e06e9aa2723e0499f89f47077d505e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CC = gcc
CFLAGS = -Wall -O3

EXEC = mzf2wav
MAIN = mzf2wav.c
OBJS = physical.o methods.o args.o wav.o

all: $(EXEC)

release: all
	cp $(EXEC) linux/release

.cc.o:
	$(CC) $(CFLAGS) -c $<
	
$(EXEC): $(MAIN) $(OBJS)
	$(CC) $(CFLAGS) -o $@ $^

clean:
	rm -f *.o core

realclean: clean
	rm -f $(EXEC)