Cleanup, added miniaudio
This commit is contained in:
parent
a290811966
commit
92abc822ec
|
@ -1,2 +1,2 @@
|
|||
obj/*
|
||||
sfxd
|
||||
sfxc
|
||||
|
|
16
Makefile
16
Makefile
|
@ -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
|
||||
|
|
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