forked from hkc/sfxd
1
0
Fork 0

Cleanup, added miniaudio

This commit is contained in:
Casey 2024-02-21 13:31:20 +03:00
parent a290811966
commit 92abc822ec
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
5 changed files with 92635 additions and 10 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
obj/*
sfxd
sfxc

View File

@ -1,16 +1,14 @@
CFLAGS +=
LDFLAGS := -lm
OBJECTS :=
sfxd: lib
$(CC) $(CFLAGS) $(OBJECTS) src/main.c $(LDFLAGS) -o sfxd
.PHONY: all
all: sfxd sfxc
all: sfxd
sfxd:
$(CC) $(CFLAGS) src/sfxd.c $(LDFLAGS) -o sfxd
sfxc:
$(CC) $(CFLAGS) src/sfxc.c $(LDFLAGS) -o sfxc
lib: $(OBJECTS)
clean:
$(RM) $(OBJECTS) sfxd
obj/%.o: src/%.c
$(CC) $(CFLAGS) -c $^ -o $@
$(RM) sfxd sfxc

92621
src/miniaudio.h Normal file

File diff suppressed because it is too large Load Diff

6
src/sfxd.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
#include <math.h>
int main(void) {
printf("Hi!\n");
}