Cleanup, added miniaudio
This commit is contained in:
parent
a290811966
commit
92abc822ec
|
@ -1,2 +1,2 @@
|
||||||
obj/*
|
|
||||||
sfxd
|
sfxd
|
||||||
|
sfxc
|
||||||
|
|
16
Makefile
16
Makefile
|
@ -1,16 +1,14 @@
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
LDFLAGS := -lm
|
LDFLAGS := -lm
|
||||||
OBJECTS :=
|
|
||||||
|
|
||||||
sfxd: lib
|
.PHONY: all
|
||||||
$(CC) $(CFLAGS) $(OBJECTS) src/main.c $(LDFLAGS) -o sfxd
|
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:
|
clean:
|
||||||
$(RM) $(OBJECTS) sfxd
|
$(RM) sfxd sfxc
|
||||||
|
|
||||||
obj/%.o: src/%.c
|
|
||||||
$(CC) $(CFLAGS) -c $^ -o $@
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,6 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
printf("Hi!\n");
|
||||||
|
}
|
Loading…
Reference in New Issue