forked from hkc/sfxd
1
0
Fork 0
sfxd/Makefile

17 lines
213 B
Makefile
Raw Normal View History

2024-02-21 13:27:25 +03:00
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 $@