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

all: cswave cswave.exe

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