diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-07 21:39:00 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-07 21:39:00 +0200 |
| commit | 4e2f5ec4bf2aec43f184674cfe9831d20e13e34a (patch) | |
| tree | 60ae9971d033f6865ea2b91a36e31c1ff0a88f7d /Makefile | |
| parent | 15d5e19422c9b19cd452297ff0d333149c94e787 (diff) | |
| download | ttdaw-4e2f5ec4bf2aec43f184674cfe9831d20e13e34a.tar.gz | |
Added basic argument parsing and better Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +CC := cc +CFLAGS := -Wall -Wextra -Wshadow -Wunused -Wswitch-enum -Wpedantic -Wundef +LDFLAGS := -lm -ldl -lpthread -lasound + ttdaw: main.c - $(CC) -Wall -o ttdaw main.c minisdl_audio.c -lm -ldl -lpthread -lasound -lm + $(CC) $(CFLAGS) -o ttdaw main.c minisdl_audio.c $(LDFLAGS) |
