aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 51fafd4f500dd0302476aa6a620d03e97208784f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS = -g -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