aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: e00aa8068e6886ba88e8cd84f98c33a28b53925f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS = -Wall -Wpedantic

all: cswave

cswave: cswave.c

cswave.exe: export CC = x86_64-w64-mingw32-gcc
cswave.exe: cswave.c
	$(CC) $(CFLAGS) $(LDFLAGS) $< $(OBJS) $(LDLIBS) -o $@

clean:
	$(RM) *.o
	$(RM) cswave
	$(RM) cswave.exe