-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmakefile
More file actions
22 lines (15 loc) · 775 Bytes
/
makefile
File metadata and controls
22 lines (15 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: demo demo_chip demo_fixed demo_stereo demo.c demo_chip.c demo_fixed.c demo_stereo.c blip_buf.c
demo: demo.c blip_buf.c
$(CC) -o demo demo.c blip_buf.c wave_writer.c
demo_chip: demo_chip.c blip_buf.c
$(CC) -o demo_chip demo_chip.c blip_buf.c wave_writer.c
demo_fixed: demo_fixed.c blip_buf.c
$(CC) -o demo_fixed demo_fixed.c blip_buf.c wave_writer.c
demo_stereo: demo_stereo.c blip_buf.c
$(CC) -o demo_stereo demo_stereo.c blip_buf.c wave_writer.c
demo_sdl: demo_sdl.c blip_buf.c
$(CC) -o demo_sdl $(shell sdl-config --cflags) $(shell sdl-config --libs) demo_sdl.c blip_buf.c
test: blip_buf.c blip_buf.h
$(CXX) -o test -DBLARGG_TEST -I . -I tests/tester blip_buf.c tests/*.cpp tests/tester/*.cpp
clean:
-$(RM) demo demo_chip demo_fixed demo_stereo demo_sdl