sfxd/Makefile

17 lines
213 B
Makefile

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